How to call up cmd.exe with a certain path

  • Thread starter Thread starter rootyard
  • Start date Start date
R

rootyard

Within the command prompt (cmd.exe), how can i call up
another instance of cmd.exe but with a certain path (like
c:\ for example) instead of the current one?
 
Assuming Cmd.exe is in the folder, just address it as you
would any other program, as in ...

c:\cmd.exe /k echo Secondary processor started ...

This same approach will work for a shortcut, if you want.

Tom Lavedas
===========
 
In said:
Within the command prompt (cmd.exe), how can i call up
another instance of cmd.exe but with a certain path (like
c:\ for example) instead of the current one?

As in
CMD /k CD /D D:\temp
or
START "" CMD /k CD /D D:\temp
?
 
Back
Top