hi,

want i want to do is, when u right click a shortcut > and in target, it is "PROGRAM PATH"...and u can put "PROGRAM PATH" /cmd /cmd2

how would i do that in CreateProcess() function?
Code:
 CreateProcess("C\\program.exe /say hello",
 NULL,
 NULL,
 NULL,
 FALSE,
 0,
 NULL,
 NULL,
 &s,
 &p);
how would u do that?