[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaCurl on Windows
- From: gary ng <garyng2000@...>
- Date: Wed, 12 Sep 2007 06:32:22 -0700 (PDT)
--- Shmuel Zeigerman <firstname.lastname@example.org> wrote:
> > Not necessarily, forward slashes are OK in NT:
> > local fh = io.open("E:/temp/SomeTestFile.txt",
> > 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.