This is the mail archive of the
cygwin
mailing list for the Cygwin project.
commandline expansion problems
- From: Norbert Wild <nwil at ganter-griff dot de>
- To: cygwin at cygwin dot com
- Date: Tue, 27 Jan 2004 11:24:00 +0100
- Subject: commandline expansion problems
- Organization: Otto Ganter GmbH & Co. KG
- Reply-to: nwil at ganter-griff dot de
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/