lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2009/9/9 George Petsagourakis <petsagouris@gmail.com>:
> David Kastrup <dak <at> gnu.org> writes:
>
>>
>> George Petsagourakis <petsagouris <at> gmail.com> writes:
>>
>> >
>> > As far as I know, Windows accepts both '/' and '\' for directory separators.
>>
>> No, it doesn't.  The C library does, though.  Which means that slashes
>> work, except where they don't.
>>
>
> It works on the cmd.exe so there is support for both back-slash and
> forward-slash on windows.

This has worked since DOS 2.0, except where it would be ambiguous,
e.g. you can't say

cd /foo

because that looks like you're trying to pass the "/foo" option to cd.

-- 
http://rrt.sc3d.org
Belief marks the line at which our thinking stops (Carse)