-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
This is a feature request for limited scripting support that could read commands from a file and execute them.
The syntax to run a script from the prompt could be:
script <path\to\script_file.txt>
Additionally, it would be useful to be able to run the script directly from the BootExecute command line, such as:
BootExecute=native script <script_file.txt>
The script file would contain a list of commands, like this example for swapping two files:
drawtext Press any key to swap File1 and File2...
pause
drawtext Swapping File1 and File2...
move File1 File1Renamed
move File2 File1
move File1Renamed File2
drawtext Press any key to continue booting Windows...
pause
exit
As referenced in the example, a pause command would be nice to have for simple scripting to be able to stop the script to wait for the user to press a key before continuing.
What are your thoughts?
Metadata
Metadata
Assignees
Labels
No labels