bertieuk
IS-IT--Management
- Jun 1, 2004
- 175
I am writing a script to automatically run a set of Legato external commands
I am using:
retcode = Wshell.run ("%comspec% /C nsrmm -s""backup-server1"" -d -S" & idlist(0) "/" & idList(1)", 1, TRUE)
The idlist array holds a pair of id numbers. Therefore idlist is a variable. I am having trouble with the syntax and mixing the command with variables. I am using two double quotes to delimit the double quote mark.
I am trying to represent running the equivilent command line:
nsrmm -s"backup-server1" -d -S 1234567/6543216
Thanks
Si
I am using:
retcode = Wshell.run ("%comspec% /C nsrmm -s""backup-server1"" -d -S" & idlist(0) "/" & idList(1)", 1, TRUE)
The idlist array holds a pair of id numbers. Therefore idlist is a variable. I am having trouble with the syntax and mixing the command with variables. I am using two double quotes to delimit the double quote mark.
I am trying to represent running the equivilent command line:
nsrmm -s"backup-server1" -d -S 1234567/6543216
Thanks
Si