I’ve tried shellexecute, I’ve tried createprocess, I can’t seem to get this to do anything.
Running the command line manually (at the actual command prompt in a console window) works, but nothing I’ve tried so far will run it from within a c++ builder app.
Obviously (filename) is just a place holder. It would be given a valid file name, such as
explorer /n, /select,c:\123.doc
Are you using escaped backslashes in your filename? For example:;
should be:
Edit:
works for me.
To avoid replacing the the current process, use spawnlp instead