I\'m creating a function in pure-Lua to scan the files from a directory and put they on a another file.
The command I tryed was:
os.execute( \"dir /B C:
Please try it with this syntax:
os.execute [["dir /B C:\Users\Fernando\workspace\Organizator2\s1 >
C:\Users\Fernando\workspace\Organizator2\temp.txt"]]
Please note that the backslash (\
) is not a special character in this case.
(Lua uses cstrings internally, sometimes it leads to some weird and amazing results :P)