## sekola

i have used c++ to run windows commands in windows\system32. i am sure u r all very farmiliar with that. however, the procedure seems not to be able to access other .exe files in other folders on my machine. please advice.;)

## Narue 5,707

Moved to the C++ forum.

## Salem 5,138

There's an environment variable called PATH which tells cmd.exe where to look.
If the program is in a directory not on the PATH, then you need to specify the full path, say
D:\path\to\prog.exe