How to call up cmd.exe with a certain path

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?
 
T

Tom Lavedas

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
===========
 
M

Mark V

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
?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top