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]

RE: commandline expansion problems


Try using single Quotes instead of the double Quotes!
./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 -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
...

--
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]