This is the mail archive of the
mailing list for the Cygwin project.
Re: argv @-expansion with pathname containing spaces
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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple