RE: What's wrong?
The command prompt only runs stuff if it's running as well, for example, try running ipconfig.exe (C:\WINDOWS\System32) without the command prompt running. It should do the same as what your program does.
Now try opening command prompt and typing in "ipconfig". It should run.
Edit: I've tried your code, it works perfectly when executed via the command prompt but it does not execute by just clicking "Open".
This post was edited on 04-13-2007 at 10:46 PM by ryxdp.
|