running another program with system / system_exec

new topic     » topic index » view thread      » older message » newer message

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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu