This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: argv @-expansion with pathname containing spaces


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@freemail.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]