In your bat file use %1 for first argument, %2 for second etc...
-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Joe Bloggs
Sent: Wednesday, June 08, 2005 9:47 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] NetBackup Oracle agent : passing arguments to
script
The NetBackup Oracle agent uses the file list in order to specify what
script is to be run, eg "backuporacle.bat".
Is it possible to pass arguments to this script, when running a windows
client? eg "backuporacle.bat db1" ? Tried all manner of quotes,
double-quotes, escaped-quotes, but bphdb log keeps complaining about
"cannot
execute command".
Works ok if I remove the arguments. Want to pass arguments though, in
order
to dictate script behaviour.
Thanks,
Joe
joebloggs74 AT hotmail DOT com
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|