[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Running Lua script file from Lua Console
- From: George Petsagourakis <petsagouris@...>
- Date: Wed, 9 Sep 2009 08:36:16 +0000 (UTC)
Robert G. Jakabosky <bobby <at> sharedrealm.com> writes:
>
> Type this Lua code to execute that Lua script:
> dofile("C:\\a\\ScriptingLanguageSupport\\Lua2.lua")
>
> Note the double backslashes. One backslash is used to escape some control
> characters like newline "\n", tab "\t".
>
Also you can try :
dofile("C:/a/ScriptingLanguageSupport/Lua2.lua")
As far as I know, Windows accepts both '/' and '\' for directory separators.