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:
os.execute('cmd.exe /c dir /B C:\\> C:\\test.txt')
That works. Useing Linux-style commands in win is a bad idea at all =)