Skip to content

Improvement and new parameter#333

Closed
Miiraak wants to merge 2 commits into
ntdevlabs:mainfrom
Miiraak:PR-Parameters-Enhancement
Closed

Improvement and new parameter#333
Miiraak wants to merge 2 commits into
ntdevlabs:mainfrom
Miiraak:PR-Parameters-Enhancement

Conversation

@Miiraak

@Miiraak Miiraak commented Feb 15, 2025

Copy link
Copy Markdown
Contributor

Purpose :

Fix #332

Adding second parameter for the mounted iso letter.

.\tiny11maker.ps1 <param1> <param2>

param1 : Letter of the choosen drive
param2 : Letter of the mounted .iso

Détails :

  • Updated script parameters to include a new $p_IsoDisk parameter.
  • Renamed $ScratchDisk to $p_ScratchDisk throughout the script.
  • Added logic to handle $p_IsoDisk, prompting user if not provided.
  • Removed output of scratch disk setting.

Edit :

  • Parameters renamed to :
    • $ISO
    • $SCRATCH
  • Synopsis added
  • Parameters order inverted

- Updated script parameters to include a new $p_IsoDisk parameter.
- Renamed $ScratchDisk to $p_ScratchDisk throughout the script.
- Added logic to handle $p_IsoDisk, prompting user if not provided.
- Removed output of scratch disk setting.
- Change the ordre to match iso then scratch
- Rename parameter
- Adding pattern for second one too
- Adding synopsis with some informations on the script and calling exemples.
@Miiraak Miiraak mentioned this pull request Feb 16, 2025
@bovirus

bovirus commented Feb 16, 2025

Copy link
Copy Markdown

@Miiraak

Many thanks for your very interesting improvements.

@Miiraak

Miiraak commented Feb 16, 2025

Copy link
Copy Markdown
Contributor Author

@bovirus
You're welcome ! Thanks for the suggestion 🐍

@Karl-WE

Karl-WE commented Feb 17, 2025

Copy link
Copy Markdown
Contributor

Thank you @Miiraak

@Miiraak

Miiraak commented Feb 17, 2025

Copy link
Copy Markdown
Contributor Author

@Karl-WE
Welcome ☺️ !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

variabile scratchdisk

3 participants