quote:
Originally posted by kostis90gr
I have a C++ console application which must take an argument to run properly.I wanna use MSN to make it run.I tried the "/run" command,the argument was passed to the program bt the program didb't run properly.I also tried using wat Matty posted with the difference of filling the 2nd argument of ShellExecute with the argument i want to pass to my program.Once again the argument was passed bt nothing happened.Keep in mind though that when i use cmd to run the application and pass the argument it works just fine
Couldn't you execute it like this?
code:
/run cmd /k "path to file"