lua-users home
lua-l archive

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

On Mon, 21 Jul 2008, Xu Wang wrote:
cmd1=[["C:\Program Files\TortoiseSVN\bin\subwcrev"
'C:\Program' is not recognized as an internal or external command,

cmd1 is error but cmd2 can be executed sucessfully. why?

My guess would be that space in "Program Files". Try something like
'"C:\Program Files\TortoiseSVN\bin\subwcrev"' to ensure the string is
quoted when it's passed to the OS.

I haven't tried it, don't know if it'll work. However, spaces are a
constant problem in Windows.
roger ivie