cmd.exe

  • Thread starter Thread starter ah
  • Start date Start date
A

ah

When I enter this command in Run, I am taken directly in C:\Documents and
Settings\me. What is the command to go back to the root C: and then to
C:\Windows\system32, in order to execute a script that is located there,
please?
 
ah said:
When I enter this command in Run, I am taken directly in
C:\Documents and Settings\me. What is the command to go back to the
root C: and then to C:\Windows\system32, in order to execute a script
that is located there, please?

Type at the command prompt: help CD
Note that it is also possible to run that script w/o changing the work
directory by executing <path\filename.ext> directly.
 
I don't know that it would change. you can type cmd- cmd prompt. it will
likly do the same. i haven't had the prob. so just trying ideas. does other
commands work from run? GL
 
Type at the command prompt: help CD
Note that it is also possible to run that script w/o changing the work
directory by executing <path\filename.ext> directly.

Thank you very much. I had forgotten about that.
 
Dytrog said:
I don't know that it would change. you can type cmd- cmd prompt. it will
likly do the same. i haven't had the prob. so just trying ideas. does
other
commands work from run? GL

Thank you for replying. Help CD, suggested by Detlev, did the trick.
 
Besides the info in help cd that you were told about, using the command cd\
will always take you to the root directory of the drive. If I can't
remember the exact name of the folder I then want to go to I type dir/w
which gives a useable listing of the subfolders.

--
Darrell R. Schmidt
B-58 Hustler Web Site
http://members.cox.net/dschmidt1/
Cadet Class 55-I Web Site
http://pilotclass55india.org/
 
Panic said:
Besides the info in help cd that you were told about, using the command
cd\ will always take you to the root directory of the drive. If I can't
remember the exact name of the folder I then want to go to I type dir/w
which gives a useable listing of the subfolders.

Yes, now I remember. Things come back little by little. When you don't use
them you forget them. Thank you very much. I wish there was a place to go
online to find all that without bothering anyone in newsgroups but so far I
have not found it.
 
ah said:
Yes, now I remember. Things come back little by little. When you don't use
them you forget them. Thank you very much. I wish there was a place to go
online to find all that without bothering anyone in newsgroups but so far I
have not found it.
You can also change the directory in which "cmd.exe" starts by editing
the Start In box in the properties of either the start menu box for
Command Prompt or a Windows desktop shortcut. That won't work if you
start by typing "cmd" in the Run box.

Bill
 
You can also change the directory in which "cmd.exe" starts by editing the
Start In box in the properties of either the start menu box for Command
Prompt or a Windows desktop shortcut. That won't work if you start by
typing "cmd" in the Run box.

Thanks for this but I think that for the moment I'll leave it as it is, as
it works and is not a bother to do. I'll try your advice when I'll have a
bit of time.
 
Back
Top