Problems with Command Prompt

M

Mike Williams

jparker said:
When I start to use the command prompt, then window appears but I cannot
use any command.

Give an example.

It gives the error "is not recognized as an internal
or external command operable program or batch file." There are few
commands that work and I have tried looking at the environment
variables and the command.com file. Any help with this matter would be
greatly appreciated.

What is your environment path?
 
J

jparker

When I start to use the command prompt, then window appears but I cannot
use any command. It gives the error "is not recognized as an internal
or external command operable program or batch file." There are few
commands that work and I have tried looking at the environment
variables and the command.com file. Any help with this matter would be
greatly appreciated.

Thanks

James Parker
 
T

Torgeir Bakken \(MVP\)

jparker said:
When I start to use the command prompt, then window appears but I cannot
use any command. It gives the error "is not recognized as an internal
or external command operable program or batch file." There are few
commands that work and I have tried looking at the environment
variables and the command.com file. Any help with this matter would be
greatly appreciated.
Hi,

This sounds like a path issue.

I suggest you download and run Fixpath.exe, it repairs most
issues with the path.

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

To see Fixpath's output, run it from a command prompt...

You should reboot after running Fixpath.exe.
 
W

Wesley Vogel

Try this.

Open the Registry Editor...
Start | Run | Type: regedit | Click OK |
Navigate to this key >>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\Environment

Look at the Path entry in the right hand pane. Is the Data Type listed as
REG_EXPAND_SZ??

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
J

jparker

With some help, I have managed to fix the problem.....for some reaso
the user environment variables were overwriting the system environmen
variables. After correcting this, the command prompt worked fine.
 
P

phillip maurice nelson

you must use the syntax command behind it.
for instance: command/?dir/? set/?chkdsk/? chkntfs/?
net/?ftype/? at/? for/?

I hope this helps.
 
W

Wesley Vogel

Where did you correct this?

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
J

jparker

I just went into the Control Panel, then to System, then to Advanced,
and clicked on Environment Variables. My machine then has user
variables for my login and system variables. I just deleted the ones
under user variables that were overwriting the corresponding system
variables

James
 
W

Wesley Vogel

Thanks for replying, James. Glad you got it fixed.

I wonder what software that you installed changed the User variables?
Providing that it was software and not a human. ;-)

FWIW, there are two default User variables;
TEMP & TMP, both %USERPROFILE%\Local Settings\Temp.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

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