Cannot Run DOS commands from C:\ prompt

D

david.carty

My operating system is Windows 2000, and I am unable to
run DOS commands from the command prompt. Instead, I have
to go to C:\winnt\system32 before I can run them. Please
tell me what is required in order to get my system back to
normal.

Thanks,
Dave
 
P

Phil Robyn [MVP]

My operating system is Windows 2000, and I am unable to
run DOS commands from the command prompt. Instead, I have
to go to C:\winnt\system32 before I can run them. Please
tell me what is required in order to get my system back to
normal.

Thanks,
Dave

Check your PATH environment variable and make sure it contains

%SystemRoot%\system32;%SystemRoot%
 
W

Walter Briscoe

In message <[email protected]> of Sun, 15 Feb 2004
22:28:28 in microsoft.public.win2000.cmdprompt.admin,
My operating system is Windows 2000, and I am unable to
run DOS commands from the command prompt. Instead, I have
to go to C:\winnt\system32 before I can run them. Please
tell me what is required in order to get my system back to
normal.

I find this report ambiguous. What do you try? What response do you get?
I suspect PATH is not set up. What response do you when you type
PATH
Does DIR work?
You should get a list of folders which includes C:\winnt\system32
If I have guessed your problem, the data needs to be set in
Start/Settings/Control Panel/System/Advanced/Environment Variables.
There you will find panes showing system and User variables and New,
Edit and Delete controls to modify those variables. You can set either;
the User pane overrides the System pane with a more limited effect. You
should probably start with "Variable Name:" PATH and
"Variable Value:" C:\winnt\system32;C:\winnt;C:\winnt\System32\Wbem

If this is not your problem; please be more specific.

Any XP user will find the path to these controls has changed. I leave
finding the new path as an exercise ;-)
 
M

Mark V

In said:
Check your PATH environment variable and make sure it contains

%SystemRoot%\system32;%SystemRoot%

And suggest that also you issue
set path
from a cmd prompt. If you actually see the strings above, then the
data Type for
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
\Environment\ PATH=
may be REG_SZ instead of the correct REG_EXPAND_SZ type.
 
D

David.carty

Thanks for your assistance. I discovered that there was an
extra comma in the path statement that separates each
statement int the path, under system variables. I deleted
it, and I am able to run DOS commands from the c:\ prompt.

Thanks for responding back to my request.
 
G

Guest

Thanks for your assistance. I discovered that there was an
extra comma in the path statement that separates each
statement int the path, under system variables. I deleted
it, and I am able to run DOS commands from the c:\ prompt.

Thanks for responding back to my request.
 
G

Guest

Thanks for your assistance. I discovered that there was an
extra comma in the path statement that separates each
statement int the path, under system variables. I deleted
it, and I am able to run DOS commands from the c:\ prompt.

Thanks for responding back to my request.
 

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