Command Prompt

G

Guest

Whatever command prompt I try i.e. ipconfig/all this message returns
"ipconfig/all is not recognized as an internal or external command, operable
program or batch file"
Running win200 pro all updates installed, norton internet suite running,
etc...

Thanks in advance
Bill
 
&

&re

Bill said:
Whatever command prompt I try i.e. ipconfig/all this message returns
"ipconfig/all is not recognized as an internal or external command, operable
program or batch file"
Running win200 pro all updates installed, norton internet suite running,
etc...


Make sure there is a space between ipconfig and /all
thus: ipconfig /all

&re
 
D

Dave Patrick

Control Panel|System|Advanced|Environment Variables|System Variables and
make sure that "Path" has
%SystemRoot%\system32;%SystemRoot%
at least somewhere in the string.

Also check that "Path" found at
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
is a type Reg_Expand_Sz string and not type Reg_Sz.

The data type Reg_Expand_Sz includes variables that are resolved when a
program or service uses the data. This does not happen with type Reg_Sz

Also note that ipconfig/all should have a space as in ipconfig /all

--
Regards,

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

:
| Whatever command prompt I try i.e. ipconfig/all this message returns
| "ipconfig/all is not recognized as an internal or external command,
operable
| program or batch file"
| Running win200 pro all updates installed, norton internet suite running,
| etc...
|
| Thanks in advance
| Bill
 
G

Guest

Thanks for the quick reply...

first suggestion i found on my system and i do have the path in the string
not sure where to find the "Path" found at HKLM\SYSTEM\CurrentControlSet\...
 
G

Guest

Thanks for the quick reply...
The first part of your advice is correct on my machine
not sure where to find HKLM\SYSTEM\... portion
 
D

Dave Patrick

In the windows registry.

Start|Run|regedt32.exe

--
Regards,

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

:
| Thanks for the quick reply...
| The first part of your advice is correct on my machine
| not sure where to find HKLM\SYSTEM\... portion
 
G

Guest

Found it under HKEY_LOCAL_MACHINE. it is REG_SZ, not sure how to modify/add
the REG_Expand_SZ
I really do not go into the regedit
 
D

danjr

Whatever command prompt I try i.e. ipconfig/all this message returns
"ipconfig/all is not recognized as an internal or external command, operable
program or batch file"
Running win200 pro all updates installed, norton internet suite running,
etc...

Have you checked to make sure the ipconfig.exe file is even on your
computer? Perhaps it has been damaged or removed. Go to Start, then Run,
and type cmd and hit OK. Make sure you are at the main C:\> prompt by
typing CD\ and hitting Enter.

At the C:\> prompt and type:

dir ipconfig*.* /s

then hit Enter.

You should see ipconfig.exe in C:\WINNT\system32 and also possibly in
C:\WINNT\system32\dllcache

Dan
 
G

Guest

did as you suggested and it is on my computer

danjr said:
Have you checked to make sure the ipconfig.exe file is even on your
computer? Perhaps it has been damaged or removed. Go to Start, then Run,
and type cmd and hit OK. Make sure you are at the main C:\> prompt by
typing CD\ and hitting Enter.

At the C:\> prompt and type:

dir ipconfig*.* /s

then hit Enter.

You should see ipconfig.exe in C:\WINNT\system32 and also possibly in
C:\WINNT\system32\dllcache

Dan
 
D

danjr

did as you suggested and it is on my computer
Well, if you are not comfortable modifying the registry, why not just run it
directly from the \system32 directory?

Go to the command prompt and type CD\WINNT\system32 and hit Enter.

Type ipconfig /all

It should work from there.

Alternatively, here is information on setting the path in Windows 2000/XP.
Pretty straightforward ...
http://www.computerhope.com/issues/ch000549.htm

Dan
 
D

Dave Patrick

You can run Programs|Accessories|System Tools|Backup, then choose ERD, then
if you check the box for "Also backup....", then the reg will also be backed
up to
%windir%\repair\RegBack
leaving the
%windir%\repair\
directory files intact as original installation.

Then close all programs, run regedit, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
rename the Reg_Sz string "Path" to "Pathx" Then run regedt32, navigate to
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
double-click on Pathx, then right-click|Copy the string then from the menu;
Edit|Add Value
Value Name:=Path
Data Type:=REG_EXPAND_SZ
OK
then paste the string (copied from Pathx) in the string editor text box.
OK
Should be ok to delete the old value "Pathx" Close regedit, and regedt32,
restart for effect.


--
Regards,

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

:
| Found it under HKEY_LOCAL_MACHINE. it is REG_SZ, not sure how to
modify/add
| the REG_Expand_SZ
| I really do not go into the regedit
 
G

Guest

thanks!
this worked. I can change the registry I just don't know how. I read the
Help but couldn't figure out how to change the Type. I'll read the link that
you supplied tonight
again,
Thanks
 

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