La Shell non va bene, deve usare la API ShellExecute.
Amaro C++, il gusto pieno dell'undefined behavior.
Regole del Forum