cancel
Showing results for 
Search instead for 
Did you mean: 

Pre-Command Syntax

rustypeterson
Level 3
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.
1 ACCEPTED SOLUTION

Accepted Solutions

Ken_Putnam
Level 6
If you cmd file accepts input to tell it what directory to process, what you have listed should work

View solution in original post

3 REPLIES 3

Ken_Putnam
Level 6
If you cmd file accepts input to tell it what directory to process, what you have listed should work

rustypeterson
Level 3
Thanks Ken. I will test it shortly.

rustypeterson
Level 3
It worked.
Thanks again Ken