Just to clarify your comment

Adam Gates adam at preston.net
Sun Sep 2 22:34:12 EDT 2001


In the win32.c you have the following comment:

            /*
             * Apparently, "D:mypath" is the same as "D:\\mypath" if
             *  D: is not the current drive. However, if D: is the
             *  current drive, then "D:mypath" is a relative path. Ugh.
             */

What you have said is not completely true. On win32 each drive has a
current directory as well as the normal current directory. So "filename"
is relative to the current directory and "D:filename" is relative to D
drives current directory.

Eg. If you did this under the shell:

cd c:/windows/sytem32
a:
cd /
copy c:*.*


then this would copy everthing from c:/windows/system32 to a:/. Note
that if you switch back to drive C it remembers that drives current
directory.



More information about the physfs mailing list