Advertisement
Advertisement
| 07.22.2008 at 05:19AM PDT, ID: 23584816 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: |
example of Main batch REM Batch file Maps all network drives echo calling drive batch... REM Call Call _DriveMap.bat call __wait.bat REM ************************************************************************************************* REM Batch file verifies existence of "__domain" Directory on C: echo Calling local C: directory check... Call __C_DomainCheck.bat call __wait.bat ---------------------------------------------------------- ** Example of Called batch file ** REM RUN MAINT WIZ on PC echo. echo _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-************-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- echo. echo Verifying Microsoft Maintenance Wizard setup... echo. echo. IF EXIST C:\__domain\maintwiz.txt GOTO CloseCurrent CD C:\__domain copy "\\server-name\ITShare\Computers\Techie section\__SYSVOL Scripts\maintwiz\maintwiz.txt" echo. echo MS Maintenance Wizard does not exit.. running setup... echo. echo Please select "ok" if prompted... echo. echo. "\\cadth-it\ITShare\Computers\Techie section\Software\Microsoft\MaintWiz\maintwiz.exe" /c "\\cadth-IT\ITShare\Computers\Techie section\Software\Microsoft\MaintWiz\outlook2k3_SCRIPT.CMW" /quiet echo _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-************-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- REM ************************************************************************************************* :CloseCurrent |