[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaCurl on Windows
- From: gary ng <garyng2000@...>
- Date: Wed, 12 Sep 2007 06:32:22 -0700 (PDT)
--- Shmuel Zeigerman <shmuz@actcom.co.il> wrote:
> > Not necessarily, forward slashes are OK in NT:
> >
> > local fh = io.open("E:/temp/SomeTestFile.txt",
> "w")
> > fh:write("Simple test string\n")
> > fh:close()
>
> This is only partially true. Try "dir E:/temp" or
> "cd E:/temp".
>
That is a problem of the cmd shell where "/" is used
as "-" in unix, for backward compatability of DOS.
If memory serve, "e:/temp/..." works even in the old
DOS days, not in the shell but system call.
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz