Answer» I would like to create a batch file with options of software to install from our network. I've TRIED search google and couldnt really find what I was looking for but know its possible.
So when you start it I would like it to have like 12 options.
Type the number corresponding with he PROGRAM you would like to install and press enter.
1 - Microsoft Office 2003 2 - Microsoft Office 2007 3 - Adobe Pro 9 ... ... ... and so on.
Any help would be GREATLY appreciated! Thx
CODE: [SELECT]@echo off :loop echo Install what? echo 1 - Microsoft Office 2003 echo 2 - Microsoft Office 2007 echo 3 - Adobe Pro 9 ... ... ... set /p choice=Option #: if "%choice%" GTR "NUMBER OF OPTIONS" cls & echo Invalid option! & goto loop goto %choice% :1 start install microsoft office 2003 exit :2 start install microsoft office 2007 exit :3 start install adobe pro 9 exit ... OK?
You need to have one of these for each thing you want to install: Code: [Select]:NUMBER start install PROGRAM exit Remember to properly add the installer.
|