X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL,TW_RG X-Spam-Check-By: sourceware.org Date: Thu, 20 Dec 2012 20:36:00 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <1187032455.20121220203600@mtu-net.ru> To: Denis Excoffier , cygwin AT cygwin DOT com Subject: Re: argv @-expansion with pathname containing spaces In-Reply-To: <20121220115536.GA300@qp9482> References: <20121219162048 DOT GA4564 AT qp9482> <20121220115536 DOT GA300 AT qp9482> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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%. > copy "%pathname%" %TEMP%\dummy.txt > nul -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 20.12.2012, <20:34> 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