Dell WorkStation 210 Personal Computer User Manual


 
Using the Software Support Utilities 2-7
DELL CONFIDENTIAL - Preliminary 8/17/98
FILE LOCATION:
S:\SYSTEMS\Aftershock\UG\9371D\9371dc20.fm
$XWR3RZHU2Q8WLOLW\
The Auto Power On utility (available for MS-DOS only) enables your system to auto-
matically perform routine tasks in your absence. For example, you might want your
system to turn on at night and perform a backup procedure. To use the utility, you
need to create a batch file containing the command(s) or program(s) that you want
performed in your absence. The Auto Power On utility determines whether system
power was turned on by the power button or by the Auto Power On setting in the System
Setup program and passes this information on to your batch file, which initiates the appropriate
commands at system start-up. See “Auto Power On” in Chapter 3 for information on setting
Auto Power On in the System Setup program.
The following example shows the contents of a possible batch file.
NOTE: The first three lines of your batch file
must
match the first three lines in the follow-
ing example.
autopowr
if errorlevel 2 goto alarm
if errorlevel 1 goto button
:alarm
call alarm.bat
autopowr /off
:button
call button.bat
goto end
The autopowr /off command turns off your computer.
The Auto Power On utility is already installed on your hard-disk drive. If you need to
reinstall the Auto Power On utility, perform the following steps:
1. If you have not already done so, use the Program Diskette Maker to make a dis-
kette copy of the Dell System Utilities diskette image on your hard-disk drive.
The Program Diskette Maker is available through the Dell Accessories program
folder. For more information, refer to the online help provided in the Program Dis-
kette Maker.
2. With the backup diskette in drive A, copy autopowr.com from the diskette to a
directory of your choice on your hard-disk drive.
If the path statement in your autoexec.bat file does not already contain the directory
in which you reinstalled the Auto Power On utility, modify the path statement to
include that directory. (See your MS-DOS reference
documentation for information on
modifying the autoexec.bat file.)