Hello everybody, I have been using an scheduled Windows task with an script like this and it works ok. But now I would use an scrip to delete old files; for example maintain only backups from last week or last month. Anybody can help me?
-----Mensaje original----- De: Mailing list for discussion of Firewall-1 [mailto:[EMAIL PROTECTED] nombre de Joe Pope Enviado el: dimarts, 6 / setembre / 2005 17:18 Para: [email protected] Asunto: Re: [FW-1] Auto Upgrade_Export On Windows 2003 Here is how I do it with a script: @echo off REM REM ** Runs the upgrade export utility to create a backup of the configuration of the REM ** PRIMARY MANAGEMENT SERVER REM echo|%FWDIR%\bin\upgrade_tools\upgrade_export D:\config-export\mgmt1.tgz REM REM ** Renames the backup file to the current date setlocal for /f "tokens=2 delims=/- " %%f in ('date /t') do (set mm=%%f) for /f "tokens=3 delims=/- " %%g in ('date /t') do (set dd=%%g) for /f "tokens=4 delims=/- " %%h in ('date /t') do (set yy=%%h) ren D:\config-export\mgmt1.tgz "MGMT1_%yy%%mm%%dd%.tgz" endlocal I just schedule this to run with Task Manager, and it works fine for me! -----Original Message----- From: Mailing list for discussion of Firewall-1 [mailto:[EMAIL PROTECTED] On Behalf Of Marius Banica Sent: Tuesday, September 06, 2005 11:55 AM To: [email protected] Subject: [FW-1] Auto Upgrade_Export On Windows 2003 Hello ppl, I have a question, I want to perform an automated upgrade_export on my windows 2003 server, when I run upgrade_export the application wants me to confirm and press Enter button is there a way to get around it? ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [EMAIL PROTECTED] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [EMAIL PROTECTED] ================================================= ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [EMAIL PROTECTED] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [EMAIL PROTECTED] ================================================= ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [EMAIL PROTECTED] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [EMAIL PROTECTED] =================================================
