commands in command window not functioning

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I know this is very vague, but I recently messed up my command window
somehow, and I don't know what I did to it, maybe it was a recently installed
program or something. Anyways, here are the symptoms that I'm getting: when
I open a command window and try to execute a line of code (for example
"xcopy"), it says 'xcopy' is not recognized as an internal or external
command, operable program or batch file. I know xcopy has worked before on
this system, and the xcopy.exe program is still located in my system32
directory. A few other commands don't work either, including 'regedit'.
Maybe somehow DOS got it's links deleted or something, how do I put them back?

Thanks
 
On 1/20/2005 1:31 PM On a whim, Jason Ryon pounded out on the keyboard
I know this is very vague, but I recently messed up my command window
somehow, and I don't know what I did to it, maybe it was a recently installed
program or something. Anyways, here are the symptoms that I'm getting: when
I open a command window and try to execute a line of code (for example
"xcopy"), it says 'xcopy' is not recognized as an internal or external
command, operable program or batch file. I know xcopy has worked before on
this system, and the xcopy.exe program is still located in my system32
directory. A few other commands don't work either, including 'regedit'.
Maybe somehow DOS got it's links deleted or something, how do I put them back?

Thanks

Your path is probably missing the system32 folder. In a command window,
type path and hit Enter. Copy and paste it and send it back to us.

--
Terry

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Jason said:
I know this is very vague, but I recently messed up my command window
somehow, and I don't know what I did to it, maybe it was a recently installed
program or something. Anyways, here are the symptoms that I'm getting: when
I open a command window and try to execute a line of code (for example
"xcopy"), it says 'xcopy' is not recognized as an internal or external
command, operable program or batch file. I know xcopy has worked before on
this system, and the xcopy.exe program is still located in my system32
directory. A few other commands don't work either, including 'regedit'.
Maybe somehow DOS got it's links deleted or something, how do I put them back?

Thanks

right click my computer select properties
advanced tab
environment variables
system variables
check the path, it should be something like
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;;
the first one redirects your command to system32

its not DOS btw

--
Marko Jotic
"Common sense is anything but common".
From the notebooks of Lazarus Long. Robert A. Heinlein.
Handmade knives, antique designs, exotic materials at
http://www.knifeforging.com/
 
Jason said:
I know this is very vague, but I recently messed up my command window
somehow, and I don't know what I did to it, maybe it was a recently installed
program or something. Anyways, here are the symptoms that I'm getting: when
I open a command window and try to execute a line of code (for example
"xcopy"), it says 'xcopy' is not recognized as an internal or external
command, operable program or batch file.
Hi

Download and run Fixpath.exe and see if that helps.

Fixpath.exe is in fixpath2.zip available here:
http://internet.cybermesa.com/~bstewart/misctools.html
 
Hello Marko,

I saw your answer, and wanted some assistance as I have the same problem
with DOS (WinXP Prof. SP3)

In my case, I do not see the path:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;; in System
Variables. If I add this path, what do I name the Variable Name?

Thanks for your assistance, I appreciate it.
 
You're responding to a post that is now almost 5 years old. The person who
posted it might be dead and buried by now! I recommend you start your own
thread and state exactly what your problem is.
 
Back
Top