home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
- rem
- rem This is a portion of my AUTOEXEC.BAT file.
- rem Note: Setup PATH and XA:
- rem
- SET PATH=C:\;D:\C600\BIN;C:\DOS;D:\X10;C:\WINDOWS;C:\UTILS;
- SET XA=D:\X10
- rem
- rem
- rem See if it's time to update the X10 computer interface
- rem (Provide a "window" of 30 mins. CP-290 turns computer on 3:00am Sunday)
- rem
- powerup d=SUNDAY s=2:45 e=3:15
- if errorlevel == 1 goto time
- goto nottime
- :time
- rem
- rem It's SUNDAY, and it's 3:00am!
- rem Download revised events now. Use default parameters and re-direct
- rem output to file so we can check for errors later.
- rem
- xa >> c:\x10log
- rem
- rem Optimize hard drives
- rem
- vopt c:
- vopt d:
- vopt e:
- vopt f:
- rem
- rem Now backup hard drives
- rem
- cd \utils
- call back
- rem
- rem Done with backups...Use XA to turn off computer
- rem
- xa "A8 OFF"
- rem
- :nottime