Does anyone know how to change the command line after opening a dos prompt from the shell command? I want to change the directory in the dos window to just C:\ and whenever I open a dos window with the shell command it is at the current working directory by default.

I have tried the sendkeys command from several different sources but the best I have been able to get with this is a "dump" of what looks like registry keys and then the system gets completely hosed (Oops!).

Any help would be appreciated.

Jason Ferreira