| Common Batch Processing Script |
| CD-ROM - autorun script For the Autorun.inf file, write this script: [autorun] open = play.bat icon= foldername\example.ico For the play.bat file, write this script: @echo off NOtepad text.txt \foldername\program.exe |
| Move log files rem to move log files to another folder move /y C:\WebSphere\AppServer\logs\*log C:\oldLogs |
| Rem to go to certain directory and run a batch file cd C:\MQe call C:\MQe\SetEnv.bat start /MIN C:\MQe\run Server.bat |
| Rem to net start applications through the network net start "IBM HTTP Server" sleep 20 net start "IBM Everyplace Synchronization Server" sleep 45 net start "IBM WAS AdminServer 4.0" |
| Rem to start application C:\Start programName C:\call programName C:\programName.exe |
| Rem to look at SYSTEM VARIABLE and LOCAL VARIABLE C:\echo %DATE% C:\echo %TIME% C:\echo %OS% C:\echo %PROCESSOR_ARCHITECTURE% C:\echo %TEMP% Rem to create ENVIRONMENT VARIABLE rem to view set VariableName rem to erase the value set VariableName = rem to set value set VariableName = value |