When I try to do Process.Start(\"echo\", \"%cd%\")
it raises a System.ComponentModel.Win32Exception: The system cannot find the file specified
.
Whe
This is because echo
is a console command, not an application - it isn't housed in an executable file of its own.
As for your file existence issue, if you just use the file name without the path then it will look in the working directory, this could be different to the directory containing the executing application, and completely different to where you think the files ought to be - you should fully qualify your paths after making yourself aware of the applications configuration.