Forum Discussion

rustypeterson's avatar
15 years ago
Solved

Pre-Command Syntax

Using BE 2010 with Windows Server 2003.
I have three seperate directories that get backed up using different jobs but use the same pre-command. Rather than write 3 seperate batch files, is there a way in the pre-command to specify where to find the command and which directory to run it on? For example:
C:\PreCommands\preFlight.cmd D:\Backup1

Any help is appreciated.
  • If you cmd file accepts input to tell it what directory to process, what you have listed should work