Re: Cmd does not recognise 'ipconfig'
From: David Candy (.)
Date: 02/03/05
- Next message: gary908: "Recycle Bin"
- Previous message: Kevin: "Re: Password protect XP?"
- In reply to: Shifer: "Re: Cmd does not recognise 'ipconfig'"
- Next in thread: Shifer: "Re: Cmd does not recognise 'ipconfig'"
- Reply: Shifer: "Re: Cmd does not recognise 'ipconfig'"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Feb 2005 16:12:08 +1100
Your path is wrong.
When typing path at a command prompt the %systemroot% is converted to whatever it is (usually c:\windows).
I suspect that the registry key holding the path is of Reg_SZ type rather Reg_Expand_SZ type.
I'm also unsure if a trailing ; on the path matters or not. You can experiment and let us know.
Check at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
A Reg_Expand tell windows or whatever program is using the value to expand environmental strings.
-- ---------------------------------------------------------- http://www.uscricket.com "Shifer" <Shifer@discussions.microsoft.com> wrote in message news:9C931043-65FB-488A-9F9C-66B3313E9C65@microsoft.com... >I am now having an identical problem to what DJ was having last year...only > as far as I can tell, my Path statement is correct. > > Here is a copy/pasted cmd session: > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > C:\Documents and Settings\Rik>ping > 'ping' is not recognized as an internal or external command, > operable program or batch file. > > C:\Documents and Settings\Rik>tracert > 'tracert' is not recognized as an internal or external command, > operable program or batch file. > > C:\Documents and Settings\Rik>ipconfig > 'ipconfig' is not recognized as an internal or external command, > operable program or batch file. > > C:\Documents and Settings\Rik>path > PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;C:\Program Fi > les\Common Files\Roxio Shared\DLLShared;C:\Program Files\MySQL\MySQL Server > 4.1bin; > > C:\Documents and Settings\Rik>cd\ > > C:\>cd\windows\system32 > > C:\WINDOWS\system32>ipconfig > > Windows IP Configuration > > > Ethernet adapter Local Area Connection: > > Connection-specific DNS Suffix . : Shifer > IP Address. . . . . . . . . . . . : 192.168.2.54 > Subnet Mask . . . . . . . . . . . : 255.255.255.0 > Default Gateway . . . . . . . . . : 192.168.2.1 > > C:\WINDOWS\system32>%systemroot% > 'C:\WINDOWS' is not recognized as an internal or external command, > operable program or batch file. > > C:\WINDOWS\system32> > > > If I'm missing something, I'll shut up forever with a slight push in the > right direction. > > "wayne" wrote: > >> glad it worked >> >> Wayne >> >> >> "DJ" <DJ@discussions.microsoft.com> wrote in message >> news:1A2330B2-BAC3-482B-97B3-23AF36EADBF8@microsoft.com... >> >I have no idea what you mean but your advice gave my friend the inspiration >> > on how to solve this problem! Anyways, he's saying that the path file >> > indeed >> > had a mistake and that the problem is completely solved now. >> > >> > Thanx Wayne for your quick response and great help! :-) >> > >> > "Wayne" wrote: >> > >> >> probably your path statement is messed up do a search for the file go to >> >> the command prompt change to that directory and see if it works >> >> >> >> Wayne >> >> >> >> "DJ" <DJ@discussions.microsoft.com> wrote in message >> >> news:7F013BD4-229B-422E-AA00-9592A249D8D1@microsoft.com... >> >> > When typing 'ipconfig' in cmd.exe the response is that it is not >> >> > recogised >> >> > as >> >> > an internal or external command or program. >> >> > >> >> > Anybody has an idea what could have caused this? I am not a computer >> >> > wiz' >> >> > and never work with anything else than MS office and explorer on this >> >> > computer... when double clicking on 'networks and connections', I DO >> >> > get >> >> > all >> >> > the data which ipconfig should have given me >> >> > >> >> > Thanx for the help! >> >> >> >> >> >> >> >> >>
- Next message: gary908: "Recycle Bin"
- Previous message: Kevin: "Re: Password protect XP?"
- In reply to: Shifer: "Re: Cmd does not recognise 'ipconfig'"
- Next in thread: Shifer: "Re: Cmd does not recognise 'ipconfig'"
- Reply: Shifer: "Re: Cmd does not recognise 'ipconfig'"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
- Re: Limited accounts wont do the job
... >> an internal or external command, operable program or batch file". ...
>>> accounts to have overall ... (microsoft.public.windowsxp.security_admin) - Re: log off command
... I simply execute the batch file and let them play... ... If it's by the hour
you don't need a script. ... You can logoff a sessionname or a session ID in each
case you have to ... Is it possible to issue the command from user1's logon to logoff ...
(microsoft.public.windowsxp.basics) - Re: log off command
... I simply execute the batch file and let them play... ... If it's by the hour
you don't need a script. ... You can logoff a sessionname or a session ID in each
case you have to ... Is it possible to issue the command from user1's logon to logoff ...
(microsoft.public.windowsxp.basics) - Re: log off command
... SOON 3600 LOGOFF %ID2% ... If it doesn't work please post what the "at" command
returns if you run it ... after the batch file and please again describe when it does not
work. ... Matija Hrovat ... (microsoft.public.windowsxp.basics) - Re: problem with a batch file wkgrp parameter
... The short answer is you're using the wrong syntax in your batch file. ... that
isn't the secured workgroup information file used to secure the database, ... permission
to open this secured database. ... You need to remove the "START /MAX" command,
but even then it won't work ... (microsoft.public.access.security)