PC Review Forums Newsgroups Windows XP Windows XP Help Command-line Tools Are Not Recognized

Reply

Command-line Tools Are Not Recognized

 
Thread Tools Rate Thread
Old 30-09-2005, 12:32 AM   #1
=?Utf-8?B?VmFsZW50aW5lIFN0Lg==?=
Guest
 
Posts: n/a
Default Command-line Tools Are Not Recognized


OS-- Windows XP Pro SP2

When I try to run ANY command-line tool at the Command Prompt I'm getting
this error message :" 'Ipconfig /all' is not recognized as an internal or
external command, operable program or batch file."
The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS

I can't find the reason of that. I'm very thankful in advance to any answer
and help that could help me to solve this problem without re-installing
Windows.

I think it's going to be an easy one for any MVP.

--
Never Say Die!
  Reply With Quote
Old 30-09-2005, 02:39 AM   #2
David Candy
Guest
 
Posts: n/a
Default Re: Command-line Tools Are Not Recognized

Type path and say what it says.

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives...ent/001075.html
=================================================
"Valentine St." <ValentineSt@discussions.microsoft.com> wrote in message news:B79746FF-DD35-446E-BFB9-93337D2D7DBF@microsoft.com...
> OS-- Windows XP Pro SP2
>
> When I try to run ANY command-line tool at the Command Prompt I'm getting
> this error message :" 'Ipconfig /all' is not recognized as an internal or
> external command, operable program or batch file."
> The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS
>
> I can't find the reason of that. I'm very thankful in advance to any answer
> and help that could help me to solve this problem without re-installing
> Windows.
>
> I think it's going to be an easy one for any MVP.
>
> --
> Never Say Die!

  Reply With Quote
Old 30-09-2005, 05:33 AM   #3
=?Utf-8?B?VmFsZW50aW5lIFN0Lg==?=
Guest
 
Posts: n/a
Default Re: Command-line Tools Are Not Recognized

When I type command PATH then I'm getting this line:PATH=C:\Program
Files\Common Files\Roxio Shared\DLLShared\

Thanks a lot.
--
Never Say Die!


"David Candy" wrote:

> Type path and say what it says.
>
> --
> --------------------------------------------------------------------------------------------------
> http://webdiary.smh.com.au/archives...ent/001075.html
> =================================================
> "Valentine St." <ValentineSt@discussions.microsoft.com> wrote in message news:B79746FF-DD35-446E-BFB9-93337D2D7DBF@microsoft.com...
> > OS-- Windows XP Pro SP2
> >
> > When I try to run ANY command-line tool at the Command Prompt I'm getting
> > this error message :" 'Ipconfig /all' is not recognized as an internal or
> > external command, operable program or batch file."
> > The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS
> >
> > I can't find the reason of that. I'm very thankful in advance to any answer
> > and help that could help me to solve this problem without re-installing
> > Windows.
> >
> > I think it's going to be an easy one for any MVP.
> >
> > --
> > Never Say Die!

>

  Reply With Quote
Old 30-09-2005, 06:03 AM   #4
David Candy
Guest
 
Posts: n/a
Default Re: Command-line Tools Are Not Recognized

Type environmental variables in Help to see how to normally change variables (path is a variable).

But for now type in Start Run

regedit

Go to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

and make sure Path is a Reg_Expand_SZ type and set it to

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\Common Files\Roxio Shared\DLLShared\

Restart windows and type path again and it should say

c:\windows\system32;c:\windows;c:\windows\system32\WBEM;C:\Program
Files\Common Files\Roxio Shared\DLLShared\

--
--------------------------------------------------------------------------------------------------
http://webdiary.smh.com.au/archives...ent/001075.html
=================================================
"Valentine St." <ValentineSt@discussions.microsoft.com> wrote in message news:7560BFDC-D223-4AC5-86D7-A560EB96E6B7@microsoft.com...
> When I type command PATH then I'm getting this line:PATH=C:\Program
> Files\Common Files\Roxio Shared\DLLShared\
>
> Thanks a lot.
> --
> Never Say Die!
>
>
> "David Candy" wrote:
>
>> Type path and say what it says.
>>
>> --
>> --------------------------------------------------------------------------------------------------
>> http://webdiary.smh.com.au/archives...ent/001075.html
>> =================================================
>> "Valentine St." <ValentineSt@discussions.microsoft.com> wrote in message news:B79746FF-DD35-446E-BFB9-93337D2D7DBF@microsoft.com...
>> > OS-- Windows XP Pro SP2
>> >
>> > When I try to run ANY command-line tool at the Command Prompt I'm getting
>> > this error message :" 'Ipconfig /all' is not recognized as an internal or
>> > external command, operable program or batch file."
>> > The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS
>> >
>> > I can't find the reason of that. I'm very thankful in advance to any answer
>> > and help that could help me to solve this problem without re-installing
>> > Windows.
>> >
>> > I think it's going to be an easy one for any MVP.
>> >
>> > --
>> > Never Say Die!

>>

  Reply With Quote
Old 30-09-2005, 07:45 PM   #5
=?Utf-8?B?UGF1bCBaaWJhcnQ=?=
Guest
 
Posts: n/a
Default Re: Command-line Tools Are Not Recognized

David, Thanks A Lot!!!
I did exactly as you wrote and now I have all my command-line utilities back
at Command Prompt.
Thanks a lot again.

"David Candy" wrote:

> Type environmental variables in Help to see how to normally change variables (path is a variable).
>
> But for now type in Start Run
>
> regedit
>
> Go to
>
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
>
> and make sure Path is a Reg_Expand_SZ type and set it to
>
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
> Files\Common Files\Roxio Shared\DLLShared\
>
> Restart windows and type path again and it should say
>
> c:\windows\system32;c:\windows;c:\windows\system32\WBEM;C:\Program
> Files\Common Files\Roxio Shared\DLLShared\
>
> --
> --------------------------------------------------------------------------------------------------
> http://webdiary.smh.com.au/archives...ent/001075.html
> =================================================
> "Valentine St." <ValentineSt@discussions.microsoft.com> wrote in message news:7560BFDC-D223-4AC5-86D7-A560EB96E6B7@microsoft.com...
> > When I type command PATH then I'm getting this line:PATH=C:\Program
> > Files\Common Files\Roxio Shared\DLLShared\
> >
> > Thanks a lot.
> > --
> > Never Say Die!
> >
> >
> > "David Candy" wrote:
> >
> >> Type path and say what it says.
> >>
> >> --
> >> --------------------------------------------------------------------------------------------------
> >> http://webdiary.smh.com.au/archives...ent/001075.html
> >> =================================================
> >> "Valentine St." <ValentineSt@discussions.microsoft.com> wrote in message news:B79746FF-DD35-446E-BFB9-93337D2D7DBF@microsoft.com...
> >> > OS-- Windows XP Pro SP2
> >> >
> >> > When I try to run ANY command-line tool at the Command Prompt I'm getting
> >> > this error message :" 'Ipconfig /all' is not recognized as an internal or
> >> > external command, operable program or batch file."
> >> > The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS
> >> >
> >> > I can't find the reason of that. I'm very thankful in advance to any answer
> >> > and help that could help me to solve this problem without re-installing
> >> > Windows.
> >> >
> >> > I think it's going to be an easy one for any MVP.
> >> >
> >> > --
> >> > Never Say Die!
> >>

>

  Reply With Quote
Old 07-04-2007, 08:00 AM   #6
GasparSilva
Junior Member
 
Join Date: Apr 2007
Posts: 1
Trader Rating: (0)
Default Comands not recongnized at Command Pronpt

OS-- Windows XP Pro SP2

When I try to run ANY command-line tool at the Command Prompt I'm getting
this error message :" 'Ipconfig /all' is not recognized as an internal or
external command, operable program or batch file."
The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS

I can't find the reason of that. I'm very thankful in advance to any answer
and help that could help me to solve this problem without re-installing
Windows.

I think it's going to be an easy one for any MVP.

--
Never Say Die!


I had same issue, and PATH was pointing to Direct X, all I did was edit the PATH line to PATH=C:\WINDOWS\SYSTME32 and it worked out fine after that I could run any command without any problem, all recognized.

GasparSilva
GasparSilva is offline   Reply With Quote
Old 15-12-2007, 02:20 PM   #7
rajanala
Junior Member
 
Join Date: Dec 2007
Posts: 1
Trader Rating: (0)
Cool hi for any problem just mail me

not a big problem just do this and understand the concept behind it.
1.when we are going to start--> run-->cmd
it will open into the folder
C:\Documents and Settings\Administrator---ok
2.when we are giving ipconfig means we are trying to execute a .exe file which is under that folder
if it is not there it will then give an error"unrecognized command or file"
3.but when we install the operating system our required file get installed in the folder
C:\WINDOWS\system32
that means if u go to C:\WINDOWS\system32
through dos command and give ipconfig it will work.
5.Then go to C:\WINDOWS\system32 and copy that ipconfig file and place it in
C:\Documents and Settings\Administrator
and now run the command.problem solved...always be confident about ur basics it will help


IF solved please mail me at rajanala.venkat@gmail.com
rajanala is offline   Reply With Quote
Old 27-09-2008, 11:55 PM   #8
cckid
Junior Member
 
Join Date: Sep 2008
Posts: 1
Trader Rating: (0)
Smile

Quote:
Originally Posted by GasparSilva
OS-- Windows XP Pro SP2

When I try to run ANY command-line tool at the Command Prompt I'm getting
this error message :" 'Ipconfig /all' is not recognized as an internal or
external command, operable program or batch file."
The old DOS-based commands are recognized, like: DIR, PATH, CD, CLS

I can't find the reason of that. I'm very thankful in advance to any answer
and help that could help me to solve this problem without re-installing
Windows.

I think it's going to be an easy one for any MVP.

--
Never Say Die!


I had same issue, and PATH was pointing to Direct X, all I did was edit the PATH line to PATH=C:\WINDOWS\SYSTME32 and it worked out fine after that I could run any command without any problem, all recognized.

GasparSilva



Same here dude it worked!! sweet
cckid is offline   Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off