Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Echo off & cls
- Echo Select option 1-99
- For /f "Delims=" %%G in ('%Systemroot%\System32\Choice.exe /N /C:123456789')Do (
- Echo Current Selection: %%G. [S]kip
- For /f "Delims=" %%H in ('%Systemroot%\System32\Choice.exe /N /C:0123456789S')Do (
- if not %%H==S (
- set "option=%%G%%H"
- )Else set "option=%%G"
- )
- )
- Echo you selected: %Option%
- Pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement