This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

commandline expansion problems


Hi,

I am trying to use a commandline "bemcmd" tool from VERITAS "Backup Exec"
To show how bash is executing the command i set the runtime parameter -xv

$ set -xv

when i run the command in the bash shell i get the error message "Invalid or missing command line parameter."

$ ./bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r
./bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r
+ ./bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r

Invalid or missing command line parameter.
Return value:-1

when i execute the dos shell "cmd" and call the same command everithing works fine

$ cmd
c:\Programme\VERITAS\Backup Exec\NT>bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r
bemcmd -o2 -jbtest -m"testms" -s"C:\WINNT\Temp\*.*" -mp:1 -w -r


Job ID:{8FB15F0E-BD27-4DFB-8E2A-5B61127ADF1E}
Return value:1

when i try to run the command in the dos shell as it was expanded by the bash shell i get the same error message
$cmd
c:\Programme\VERITAS\Backup Exec\NT>bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r
bemcmd -o2 -jbtest -mtestms '-sC:\WINNT\Temp\*.*' -mp:1 -w -r


Invalid or missing command line parameter.
Return value:-1

is there a way to control the commandline expansion of the bash shell?

Greetings
Norbert

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]