DOS command

G

Guest

Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos command at
the command line prompt e.g a command IPONFIG, my PC reply me as > 'ipconfig'
is not recognized as an internal or external command, operable program or
batch file <

Can anybody please help to corret this problem, I don't want to reinstall
the WinXP

Thank you and best regards
Ricky Lie
 
P

Pegasus \(MVP\)

Ricky said:
Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos command at
the command line prompt e.g a command IPONFIG, my PC reply me as > 'ipconfig'
is not recognized as an internal or external command, operable program or
batch file <

Can anybody please help to corret this problem, I don't want to reinstall
the WinXP

Thank you and best regards
Ricky Lie


When at the Command Prompt, type this command and report
what you see:

path

By the way, DOS is an operating system. It was superseded by
Windows many years ago. When you say "DOS" you probably
mean the "Command Prompt".
 
R

R. McCarty

As written "Iponfig" - isn't a valid command. However, if you just
miss-typed it in the post then your Path environment variable may
not contain the \Windows\System32 which would cause the failure
message you received.

To check, Click Start, Run (Type) Cmd [Enter]
Path [Enter]

*Verify the string contains C:\Windows\System32;
 
G

Guest

Hi,

Thank you for tour prompt response, If I execute >path command it gives me
some path information as follow

PATH=C:\Program Files\Common Files\Borland Shared\BDE\;C:\Program
Files\Borland\BDS\3.0\Bin;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN;C:\Documents and Settings\Ricky Lie\My Documents\Borland
Studio Projects\Bpl;C:\Program Files\Microsoft Visual
Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual
Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin
By the way, DOS is an operating system. It was superseded by
Windows many years ago. When you say "DOS" you probably
mean the "Command Prompt".

You are right I mean it as Command Promt, thank's
 
G

Guest

Hi,

Sorry, it seem a report misstype if should be IPCONFIG, I'll check it, the
path \Windows\System32, as "Pegasus" also recomended

Thank's

R. McCarty said:
As written "Iponfig" - isn't a valid command. However, if you just
miss-typed it in the post then your Path environment variable may
not contain the \Windows\System32 which would cause the failure
message you received.

To check, Click Start, Run (Type) Cmd [Enter]
Path [Enter]

*Verify the string contains C:\Windows\System32;

Ricky said:
Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos command
at
the command line prompt e.g a command IPONFIG, my PC reply me as >
'ipconfig'
is not recognized as an internal or external command, operable program or
batch file <

Can anybody please help to corret this problem, I don't want to reinstall
the WinXP

Thank you and best regards
Ricky Lie
 
G

Guest

I didn't find C:\Windows\System32; in my path setting, In which file should I
add C:\Windows\System32;

Thank you

R. McCarty said:
As written "Iponfig" - isn't a valid command. However, if you just
miss-typed it in the post then your Path environment variable may
not contain the \Windows\System32 which would cause the failure
message you received.

To check, Click Start, Run (Type) Cmd [Enter]
Path [Enter]

*Verify the string contains C:\Windows\System32;

Ricky said:
Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos command
at
the command line prompt e.g a command IPONFIG, my PC reply me as >
'ipconfig'
is not recognized as an internal or external command, operable program or
batch file <

Can anybody please help to corret this problem, I don't want to reinstall
the WinXP

Thank you and best regards
Ricky Lie
 
R

R. McCarty

It's not a file but a System Variable, accessible from System
Properties ( Right Click My Computer), take Properties. From
the details box, Click Advanced (TAB). Click the Environment
Variables button. Work from the bottom half (System Variables)
Scroll down the list and locate "Path". Left Click to Highlight or
select it and click the Edit button. It will place the cursor at the
end of the existing string - CAREFULLY, Left Click at the end
of the string and type in C:\Windows\System32
Then OK......Recheck with the Command Prompt Path.


Ricky said:
I didn't find C:\Windows\System32; in my path setting, In which file should
I
add C:\Windows\System32;

Thank you

R. McCarty said:
As written "Iponfig" - isn't a valid command. However, if you just
miss-typed it in the post then your Path environment variable may
not contain the \Windows\System32 which would cause the failure
message you received.

To check, Click Start, Run (Type) Cmd [Enter]
Path [Enter]

*Verify the string contains C:\Windows\System32;

Ricky said:
Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos
command
at
the command line prompt e.g a command IPONFIG, my PC reply me as >
'ipconfig'
is not recognized as an internal or external command, operable program
or
batch file <

Can anybody please help to corret this problem, I don't want to
reinstall
the WinXP

Thank you and best regards
Ricky Lie
 
D

Dave Patrick

Control Panel|System|Advanced|Environment Variables|System Variables|Path

Path should appear as semicolon separated values so ADD

%systemroot%;%systemroot%\system32

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I didn't find C:\Windows\System32; in my path setting, In which file should
I
| add C:\Windows\System32;
|
| Thank you
 
M

Malke

Ricky said:
Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos command
at the command line prompt e.g a command IPONFIG, my PC reply me as >
'ipconfig' is not recognized as an internal or external command, operable
program or batch file <

Can anybody please help to corret this problem, I don't want to reinstall
the WinXP

This is usually caused by an error in your PATH. However, the problem can
also be caused by viruses. To fix your PATH, go to the Control Panel System
applet, click on the Advanced tab and then you want Environmental
Variables. Look at the System Variables and make sure C:\Windows\System32
is there (assuming your system drive is C:\, if not substitute
accordingly). If it isn't, add it to the end.

To make sure your computer is virus/malware-free:
http://www.elephantboycomputers.com/page2.html#Removing_Malware

Malke
 
G

Guest

I believe that this is NOT the only PATH that needs to be added you may have
to add C:\windows; c:\windows\system32\wbem as well. One Would Wonder HOW
these got removed in the first place. I'd be looking into some sort of
infection.

Good Luck
 
G

Guest

Thank you help appreciate that, it's done

Regards
Ricky Lie

R. McCarty said:
It's not a file but a System Variable, accessible from System
Properties ( Right Click My Computer), take Properties. From
the details box, Click Advanced (TAB). Click the Environment
Variables button. Work from the bottom half (System Variables)
Scroll down the list and locate "Path". Left Click to Highlight or
select it and click the Edit button. It will place the cursor at the
end of the existing string - CAREFULLY, Left Click at the end
of the string and type in C:\Windows\System32
Then OK......Recheck with the Command Prompt Path.


Ricky said:
I didn't find C:\Windows\System32; in my path setting, In which file should
I
add C:\Windows\System32;

Thank you

R. McCarty said:
As written "Iponfig" - isn't a valid command. However, if you just
miss-typed it in the post then your Path environment variable may
not contain the \Windows\System32 which would cause the failure
message you received.

To check, Click Start, Run (Type) Cmd [Enter]
Path [Enter]

*Verify the string contains C:\Windows\System32;

Hi,

I'm using WinXP pro, sp2 and found out that whenever I type a dos
command
at
the command line prompt e.g a command IPONFIG, my PC reply me as >
'ipconfig'
is not recognized as an internal or external command, operable program
or
batch file <

Can anybody please help to corret this problem, I don't want to
reinstall
the WinXP

Thank you and best regards
Ricky Lie
 
G

Guest

This is usually caused by an error in your PATH. However, the problem can
also be caused by viruses. To fix your PATH, go to the Control Panel System
Thank you for your help appreciate that, it's done

Regards
Ricky Lie
 
G

Guest

I do protect my pc with Norton2005 at the first WinXP installation updated
with Norton2006, regularly updated the virus definition

Thank you
 
D

Dave Patrick

??

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| This is usually caused by an error in your PATH. However, the problem can
| also be caused by viruses. To fix your PATH, go to the Control Panel
System
| Thank you for your help appreciate that, it's done
|
| Regards
| Ricky Lie
 
C

cquirke (MVP Windows shell/user)

On Sat, 24 Jun 2006 07:40:02 -0700, SteveL
I believe that this is NOT the only PATH that needs to be added you may have
to add C:\windows; c:\windows\system32\wbem as well.

That's the standard Path in XP, yes - it's not the same as Win9x... it
also has System32 rather than Command in the Path, as well.
One Would Wonder HOW these got removed in the first place.
I'd be looking into some sort of infection.

You may well have problems due to malware that drops same-name files
into earlier Path locations, even if the Path is OK.
"Ricky" wrote:

Pretty hairy Path... usually I'd want to separate data and code (thus
avoid having any My Documents in Path) but if you're a dev, your code
may be your "data", making things murkier :-/

Some limitations may remain if DOS apps are using the Path - either
issues with total Path length, or with spaces within Path elements.

Is that Path result as shown from a command prompt, RegEdit, or via
System, Properties, Environment?

OK; in addition to checking out the Path statement via Environment,
I'd look at Config.NT and Autoexec.NT to see whether these are
modifying the Path as seen within the command line environment(s)
and/or by DOS programs affected by these.


-------------------- ----- ---- --- -- - - - -
Tip Of The Day:
To disable the 'Tip of the Day' feature...
 

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

Similar Threads


Top