delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/01/20:43:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_80,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Jason Pyeron" <jpyeron AT pdinc DOT us>
To: <cygwin AT cygwin DOT com>
Subject: How to pass parameters to a windows application
Date: Sun, 1 Aug 2010 20:43:05 -0400
Message-ID: <E2B92C7CBBA64B158FA61FDD9DDC20BC@phoenix>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT 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 AT 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 AT phoenix /projects/crisfield
$ cmd /c '\"start \"\" \"C:\\Documents and Settings\\All
Users\\Desktop\\projects\\crisfield\\trunk\\etc\"\"'
The network path was not found.

jpyeron AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019