* A.J.Mechelynck <antoine.mechelynck@> [060816 04:31]:
> IIRC, in Windows percent signs should be doubled (which requires the same
> kind of fancy-footwork as Vim's \ or ^V in the case of recursion), except
> in the names of environment %STRINGS% to be resolved by the shell.
> I'm not sure about how to quote double quotes.
Well, I tried to create file

The 100% file with "quotes".txt

from notepad and failed.

C:> type "The 100% file with quotes.txt"
test
C:> type "The 100% file with quotes.txt"
The system cannot find the file specified.
C:> type "The file with %percents%.txt"
test2
C:> type "The file with %%percents%%.txt"
The system cannot find the file specified.
C:> type "The file with %percents% and spaces.txt"
test3
C:> type "The file with %%percents%% and spaces.txt"
The system cannot find the file specified.

And so on...

I guess stripping all quotes and leaving percents will be OK.

Is "defined(WIN16) || defined(WIN32) || defined(DOS)" will be
enough for DOS/WIN platform?

> >A patch for the documentation is missing, this is required to see what
> >the intention of shellescape() is.
OK, I'll update patch.

-- 
Regards,
Sir Raorn.

Attachment: signature.asc
Description: Digital signature

Reply via email to