Pretty much explained in the topic - need a replacement for choice which can accept a default value and a timeout. SET /P doesn't cut it, unfortunately. Scripts are to be run in WinPE, so vbscript with IE is also out of question.
You can add the variable name to get in the User Variable or System variable list in the Environment Variable of the system. When running in WinPE, there won't be an option like a prompt to get the user input even if SET/P is used. So you can manually change the value in the User variable to the option that you need to run, which will automatically included as the default option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With