Whim, want to test the stability of the software in the switch machine, manual words time-consuming and laborious, how to let the computer automatic implementation ...
It is simple to set up and the process is recorded as follows:
1: Create a new Bat file (the WordPad file can be changed directly to the suffix)
Add the following directive to the 2:bat file:
Shutdown–r–t 15
Note: ("-r" means restart, reboot; "-T" indicates time, seconds to wait before the operation is restarted.) The command indicates that the computer will restart after 15 seconds)
Start with all Programs--start in 3:windows7, right-click to browse, copy the program you want to boot and the bat file in the above folder into the directory.
In this way, the boot will automatically run to test the program, while executing the shutdown instruction, 15 seconds after the system restart, without the need for manual intervention to complete the stability test of the switch machine.
Windows boot autorun software and automatic restart