[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: NEWBIE Question: Windows Interpreter?
- From: "Evan DeMond" <evan.demond@...>
- Date: Wed, 27 Feb 2008 23:08:25 -0500
On Wed, Feb 27, 2008 at 8:49 PM, Rolf <firstname.lastname@example.org> wrote:
If I have my script in a file (e.g. test.txt) how would I execute it
using the DOS interpreter?
That's the interpreter; you're one step away. Once you're in the prompt, you can call dofile("test.txt") to run the contents of your file. Or you can launch Lua and run your script at the same time, by giving the file name as an argument:
Also, it's not really running under DOS, it's just a console window running in Windows. (Looks like DOS, but technically isn't!)
Is there any documentation for a newbie like me....?