wibblewobblewow
Technical User
I am trying to wrtie a batch file that will export my checkpoint firewall database using the upgrade_export.exe. The code i am using is:
upgrade_export.exe c:\backup (c:\backup been the place i want the output to go).
When i run this it asks for the enter key to be pressed to continue. The program will let you type anything and then enter. have tried using the following:
upgrade_export.exe c:\backup < cmds.txt (where cmds.txt has a random word typed in followed by a carriage return)
This results in the following error :
C:\Scripts\CPbackup>upgrade_export c:\backup 0<c:\scripts\CPbackup\cmds.txt
The system cannot find the file specified. same error if i specify the path or not (and the file is there!)
Having searched for a while the only thing people seem to do in this situation is what i have already tried, so i am out of ideas. Any suggestions / shots in the dark would be greatly welcomed
Thanks
upgrade_export.exe c:\backup (c:\backup been the place i want the output to go).
When i run this it asks for the enter key to be pressed to continue. The program will let you type anything and then enter. have tried using the following:
upgrade_export.exe c:\backup < cmds.txt (where cmds.txt has a random word typed in followed by a carriage return)
This results in the following error :
C:\Scripts\CPbackup>upgrade_export c:\backup 0<c:\scripts\CPbackup\cmds.txt
The system cannot find the file specified. same error if i specify the path or not (and the file is there!)
Having searched for a while the only thing people seem to do in this situation is what i have already tried, so i am out of ideas. Any suggestions / shots in the dark would be greatly welcomed
Thanks