lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.