delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/19/11:21:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Date: Wed, 19 Dec 2012 17:20:23 +0100
From: Denis Excoffier <cygwin AT Denis-Excoffier DOT org>
To: cygwin AT cygwin DOT com
Subject: argv @-expansion with pathname containing spaces
Message-ID: <20121219162048.GA4564@qp9482>
MIME-Version: 1.0
User-Agent: Mutt/1.5.21 (2010-09-15)
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

Hello,

I try to use the @pathname feature (see
http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-at),
but it does not seem to work when pathname contains a space character.

My test pathname is D:\Documents and Settings\myuser\Desktop\test; with
C:\Home\myuser\test it works perfectly.

I have tried @"path name" or @'path name', @path\\ name, or even
@path" "name, with no interpretation of the @.

I also had a look into the source (dcrt0.cc) but i am lost with
"cmd = quoted (cmd, winshell && argc > 0)".


Please help,

Regards,

Denis Excoffier.

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