Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo.
- echo MENU
- echo.
- //echo Setting <LETTER>: network drive
- //net use <LETTER>: "\\SERVER\PATH"
- //echo <LETTER>: set, if installers do not open network drive mapping failed probably failed.
- echo.
- :MENU
- echo.
- echo 1 or 2, choose your option.
- echo .
- echo 1 - Option1
- echo 2 - Option2
- echo 3 - Option3
- echo 4 - Option4
- echo 5 - EXIT
- echo.
- SET /P M=Type a number then press ENTER:
- IF %M%==1 GOTO OPT1
- IF %M%==2 GOTO OPT2
- IF %M%==3 GOTO OPT3
- IF %M%==4 GOTO OPT4
- IF %M%==5 GOTO EOF
- :OPT1
- "<LETTER>:\Path\Folder\file.exe"
- GOTO MENU
- :OPT2
- "<LETTER>:\Path\Folder\file.exe"
- GOTO MENU
- :OPT3
- "<LETTER>:\Path\Folder\file.exe"
- GOTO MENU
- :OPT4
- net use <LETTER>: "\\SERVER\PATH"
- GOTO MENU
- :EOF
- EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement