home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
COMMUNIC
/
IOTEST.ZIP
/
IO_TEST.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-12-09
|
410b
|
12 lines
@echo off
rem Set date as an environment variable
c:\io_dump\strdate
rem If there is already a dump file for today don't compress it
if exist c:\io_dump\%_strdate%.dmp goto done
c:
rem Compress and remove the previous dump
c:\io_dump\pkzip -m c:\io_dump\%NODENAME%_IO.ZIP c:\io_dump\*.DMP
:done
rem Restart the capture in a file having the date as name
c:\io_dump\IO_SNOOP c:\io_dump\%_STRDATE%.DMP