23/12/2010
Lua os.execute on Windows
When you are using environment variables that contain paths with spaces, you have to use quotes. But when os.execute runs a command that starts with a quote it somehow removes it… but apparently adding another pair of quotes around the whole thing helps.
os.execute( '""%ProgramFiles%"\\Notepad++\\notepad++"' )