How to pass parameters to a windows application

Jason Pyeron jpyeron@pdinc.us
Mon Aug 2 00:43:00 GMT 2010


I am at my wits end trying to figure out how to execute this in bash

C:\WINDOWS>cmd /c "start "" "C:\Documents and Settings\All
Users\Desktop\projects\crisfield\trunk\etc""

jpyeron@phoenix /projects/crisfield
$ cmd /c "\"start \"\" \"C:\\Documents and Settings\\All
Users\\Desktop\\projects\\crisfield\\trunk\\etc\"\""
The filename, directory name, or volume label syntax is incorrect.

jpyeron@phoenix /projects/crisfield
$ cmd /c '\"start \"\" \"C:\\Documents and Settings\\All
Users\\Desktop\\projects\\crisfield\\trunk\\etc\"\"'
The filename, directory name, or volume label syntax is incorrect.

jpyeron@phoenix /projects/crisfield
$ cmd /c '\"start \"\" \"C:\\Documents and Settings\\All
Users\\Desktop\\projects\\crisfield\\trunk\\etc\"\"'
The network path was not found.

jpyeron@phoenix /projects/crisfield
$ cmd /c "start \"\" \"C:\\Documents and Settings\\All
Users\\Desktop\\projects\\crisfield\\trunk\\etc\""
# A windows alert box pops up saying \\ The network path was not found.

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.




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



More information about the Cygwin mailing list