delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,TW_RG |
X-Spam-Check-By: | sourceware.org |
Subject: | Re: argv @-expansion with pathname containing spaces |
Mime-Version: | 1.0 (Mac OS X Mail 6.2 \(1499\)) |
From: | Denis Excoffier <cygwin AT Denis-Excoffier DOT org> |
In-Reply-To: | <1187032455.20121220203600@mtu-net.ru> |
Date: | Thu, 20 Dec 2012 22:19:34 +0100 |
Cc: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Message-Id: | <73EB9546-1F87-468A-B4C8-F72A0DFC9A6B@Denis-Excoffier.org> |
References: | <20121219162048 DOT GA4564 AT qp9482> <CAEhDDbDcoiKng6D2zqb-_xKrMUnt_H8Lj7FNPgXnMfis0R9mpw AT mail DOT gmail DOT com> <20121220115536 DOT GA300 AT qp9482> <1187032455 DOT 20121220203600 AT mtu-net DOT ru> |
To: | Andrey Repin <cygwin AT cygwin DOT com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id qBKLJuXd014675 |
On 2012-12-20, Andrey Repin wrote: > Greetings, Denis Excoffier! > >> For the moment, the best solution i have is to copy >> the original file into, say, %TEMP%\dummy.txt, hoping that %TEMP% >> will not contain any spaces: > > It will, if %USERPROFILE% do. On most systems, user's %TEMP% will be located > in %LocalAppData%/Temp, which is derived from %USERPROFILE%. > I suppose i can afford this case, and test it using: set x=%TEMP: =X% if "%x%"~ neq "%TEMP%"~ ( echo not implemented goto error ) Thank you, 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |