problem with ShellExecute

  • Thread starter Thread starter Alex-gv
  • Start date Start date
A

Alex-gv

Guest
Hi. I try to work the following code and it does not, I think the problem is the ">" character. If I use the System () command, there is no problem, but the bad thing is that
shows the console. Thank you. (c++)


char comando[] = "c:\\Constructor\\JPG\\cjpeg.exe";

char argumentos[] = "c:\\Constructor\\TEMP\\FOTO-001_.bmp > k:\\1a\\FOTO-002.jpg";

ShellExecute(NULL, "open", comando, argumentos, NULL, SW_HIDE);

Continue reading...
 
Back
Top