[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [FW1] Nt Log batch problem
Hi all, Here a sample script to rotate the FW-1 log files on the management station (NT 4.0): set FWDIR=C:\WINNT\FW1\4.1 for /F "tokens=1-4 delims=/ " %%a in ('date /t') do set DayOfWeek=%%a&set Month=%%b&set Day=%%c&set Year=%%d&set Date=%%b-%%c-%%d %%a cd \ cd %FWDIR%\log ren fw.log "fw.%date%.log" move "fw.%date%.log" "%fwdir%\log\backup\fw.%date%.log" %FWDIR%\bin\fwstop sleep 10 %FWDIR%\bin\fwstart PROBLEM: after the fwstop command, the script just exits without completing itself. Any people out there had encountered this problem before? Regards, Francisco Cabral ================================================================================ To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================================================
|