home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTILS2
/
X10XA2.ZIP
/
AUTOEXC.BAT
next >
Wrap
DOS Batch File
|
1994-01-15
|
2KB
|
46 lines
@ECHO OFF
REM --------------------------------------------------------------------
REM This is an excerpt from my AUTOEXEC.BAT file. Use these sample
REM statements to configure your system to use XA.
REM
REM Set your PATH to include the directory where XA is kept.
REM --------------------------------------------------------------------
PATH C:\X10;(...other directories placed here...)
REM --------------------------------------------------------------------
REM Setup the XA Environment variable to point to the directory where
REM XA's command and initialization files are kept.
REM --------------------------------------------------------------------
SET XA=C:\X10
REM --------------------------------------------------------------------
REM You could synchronize the clock in your CP-290 every time you boot
REM your PC.
REM --------------------------------------------------------------------
XA "SYNCHRONIZE X10"
REM --------------------------------------------------------------------
REM Use POWERUP to see if it's time to update the CP-290 (Sunday 3:00am)
REM ... Then DEFRAG DRIVES C,D,E,F
REM ...... Then BACKUP modified files on drive E.
REM ......... Then turn off the PC.
REM --------------------------------------------------------------------
POWERUP D=SUNDAY s=2:55 e=3:05
IF ERRORLEVEL == 1 GOTO SET_CP290
GOTO FINISH
:SET_CP290
XA f=xa.cmd +r1
C:\DOS\DEFRAG C: /F
C:\DOS\DEFRAG D: /F
C:\DOS\DEFRAG E: /F
C:\DOS\DEFRAG F: /F
C:\UTILS\BACKUP E:
C:\DOS\smartdrv /c C- D- E- 1024 512
XA "P_C OFF"
:FINISH