This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to pass parameters to a windows application
- From: Andrey Repin <anrdaemon at freemail dot ru>
- To: "Jason Pyeron" <jpyeron at pdinc dot us>, cygwin at cygwin dot com
- Date: Mon, 2 Aug 2010 19:54:17 +0400
- Subject: Re: How to pass parameters to a windows application
- References: <E2B92C7CBBA64B158FA61FDD9DDC20BC@phoenix>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
Greetings, Jason Pyeron!
> 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.
$ cmd /c start "" "C:/Documents and Settings/All Users/Desktop/projects/crisfield/trunk/etc"
Windows support both (more precise would be "see no difference between) "/"
and "\" as directory separators. Since DOS 3.3 at least.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 02.08.2010, <19:51>
Sorry for my terrible english...
--
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