running another program with system / system_exec
- Posted by ChrisB (moderator) Oct 01, 2013
- 1465 views
Hi
I have this :
A long\path name\with spaces\to an\executable.exe
that I want to load
A long\path name\with spaces\to a\graphic_file
with
How do I do this with system and system_exec balking at the spaces.
If I do
'"'A long\path name\with spaces\to an\executable.exe'"'
then the program loads
but when I try to add the file I want it to load, nothing happens, ie
'"'A long\path name\with spaces\to an\executable.exe A long\path name\with spaces\to a\graphic_file'"'
Do I somehow have to quote the file_to_load?
Chris