[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Rename folder with Lua, on C++?
- From: Alexandre <alex_r@...>
- Date: Mon, 12 Apr 2004 14:55:05 -0300
AHOY!
Where is the problem??? He didn't rename the folder...
char PastaStr[255];
sprintf(PastaStr, "os.rename( \"CD/%i\", \"CD/%i\" );", 10, 20);
//sprintf(PastaStr, "os.rename( \"CD\\%i\", \"CD\\%i\" );", 10, 20);
lua_dostring(luaVM, PastaStr);
Thanks
Alexandre Ribeiro de Sá
alex_r@vortexentertainment.com
http://www.vortexentertainment.com