Re: DOS commands

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: jco (anonymous_at_discussions.microsoft.com)
Date: 03/01/04


Date: Sun, 29 Feb 2004 16:06:39 -0800

I have to thank you much, your responce was very helpful.
in fact you are the one who helped me.

>-----Original Message-----
>jco wrote:
>
>> Can someone advice me? for some reason my DOS is not
>> taking any of my commands, the only one that it accepts is
>> "DIR", it doesn't take "ping", "netstat", etc....
>>
>> what do you think the problem is? What should i do to
>> fix this?
>
>Hi
>
>This is usually caused by two things, either that vital
system folders
>is missing from your path, or that the value type for the
path entry in
>the registry is changed from the "REG_EXPAND_SZ" format to
"REG_SZ".
>Note that sometimes both situations can be present at the
same time.
>
>The easiest way to check to see if any of the problems
above is
>relevant for you, is to open a command prompt and take a
look at
>the path element in the environment:
>
>1.
>Open a command prompt (e.g. select Start\Run in the menu and
>then run cmd.exe
>
>2.
>Type "path" (without the quotes) and press enter.
>
>As part of the path listing (preferably at the beginning),
you should
>see the following three folders:
>
>C:\WINNT\System32;C:\WINNT;C:\WINNT\System32\Wbem;
>
>(where "C:\WINNT" is the folder to you Windows folder)
>
>3.
>If you don't see those folders, do the steps in both A)
and B) below.
>
>If you see them, but they are containing the environment
variable
>%SystemRoot% as a literally part of the name and not the
actual
>windows folder name itself, like this:
>
>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;
>
>you need to do the steps in B) below.
>
>
>==================================================
>A)
>
>Add missing vital system folders like this:
>
>Control Panel - System - Advanced -
>Environment Variables
>
>Find PATH under "System variables" and select Edit, add
this line at the start:
>
>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\WBEM;
>
>
>==================================================
>B)
>
>To verify that the registry value for the path is still in
>"REG_EXPAND_SZ" format and not "REG_SZ", and how to fix it
>if necessary, see this link:
>
>http://home.comcast.net/~stewartb/cmdprompt.html#6
>
>
>--
>torgeir
>Microsoft MVP Scripting and WMI, Porsgrunn Norway
>Administration scripting examples and an ONLINE version of
the 1328 page
>Scripting Guide: http://www.microsoft.com/technet/scriptcenter
>
>
>.
>



Relevant Pages

  • RE: Offline Address Book error on send/receive
    ... The folders are system folders. ... you may want to contact Microsoft CSS directly. ... I have reset the system folders on a test server ...
    (microsoft.public.windows.server.sbs)
  • Re: Unable to delete file - need help...
    ... that deletes and/or shreds junk files and folders. ... Go to Task Manager and hit 'processes'. ... >the command prompt, DIR shows the file in the folder, ... have any luck deleting ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: hidden files and directories
    ... Start trial and error change directory with wild card. ... Tweak UI Open Command Prompt Here ... Display content of system folders should be ticked. ... Windows Defender seems to handle them. ...
    (microsoft.public.windowsxp.general)
  • Re: invalid driver
    ... You may need to set the folder options to see hidden and system folders. ... Windows help - www.rickrogers.org ... > Followed 'Installation Problems' instructions to the letter. ...
    (microsoft.public.windowsxp.general)
  • Re: deleting files and folders WinXP Home
    ... Most of the files are actually folders. ... I've tried command prompt, I've tried Disk Management. ...
    (microsoft.public.windowsxp.help_and_support)