Re: "NET NOT RECOGNIZED AS A COMMAND" et al
- From: bill@xxxxxxxxxx
- Date: Tue, 02 Oct 2007 13:52:09 -0400
NOW I HAVE RCVD SOME ANSWERS FROM MVPs BEFORE, BUT AS AN ENGINEER AND
PROFESSIONAL I LIKED AND APPRECIATED THAT ANSWER MOST.
NOT TO MENTION THE FACT THAT IT WAS RIGHT ON.
Now, how did that entry get changed that way?
I THINK it was right after I reinstalled the system, but since I had
96 updates to apply maybe it wasn't.
THANKS AGAIN FOR A GREAT RESPONSE!
On Mon, 1 Oct 2007 19:03:48 +0200, "Pegasus \(MVP\)" <I.can@xxxxxxx>
wrote:
.
<bill@xxxxxxxxxx> wrote in message
news:ls82g3psdo6acg2j8tg1pil3vqrf9bg0md@xxxxxxxxxx
I got this issue and error when trying to execute a NET STOP command
to fix the update not working issue.
"NET NOT RECOGNIZED AS A COMMAND"
OK so I know what the problem is - the PATH isn't working.
I have verified that, BUT the PATH variable appears correct and I
re-entered it.
I was able to type the long path command and it works
C:\WINDOWS\SYSTEM32\NET STOP ....
If I type %systemroot% I get back C:\WINDOWS not recognized as a
command.
So the system knows what %systemroot% is
the first item in PATH=%systemroot%\system32;.........
NET.EXE is in system32
BUT typing NET STOP at the command prompt gets me the error.
Even if I open the cmd prompt in the system32 folder I get the same
error.
everything works the same if I rename notepad.exe to test.exe and type
TEST.
WHY & How to fix pplleeaasseeeee.
Some of the items you report appear contradictory. However, the
usual cause for this problem is an invalid value type for the %path%
variable. I assume that your path shows up as
%systemroot%\system32;......... at the Command Prompt, which
is wrong. It should show up as
c:\windows\system32;........
Have a look at the value
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
I suspect it is a Reg_SZ value. It should be a Reg_Expand_SZ value.
- References:
- "NET NOT RECOGNIZED AS A COMMAND" et al
- From: bill
- Re: "NET NOT RECOGNIZED AS A COMMAND" et al
- From: Pegasus \(MVP\)
- "NET NOT RECOGNIZED AS A COMMAND" et al
- Prev by Date: Remote Desktop Connection Issue
- Next by Date: Re: Line in Taskbar.
- Previous by thread: Re: "NET NOT RECOGNIZED AS A COMMAND" et al
- Next by thread: Re: Can't Run Any Microsoft Office 2007 Application
- Index(es):
Relevant Pages
- Release : ComLog 1.0, a WIN32 command prompt logger
... a WIN32 command prompt logger ... DOS sessions on Windows NT/2K (should
also work on XP, ... This tool can be used by administrator to keep a history of commands
... typed in the DOS command prompt and the associated output, ... (Focus-IDS) - [Full-Disclosure] Release : ComLog 1.0, a WIN32 command prompt logger
... a WIN32 command prompt logger ... DOS sessions on Windows NT/2K (should
also work on XP, ... This tool can be used by administrator to keep a history of commands
... typed in the DOS command prompt and the associated output, ... (Full-Disclosure) - Re: Windows could not start because the following file is missing or corrupt: System32DriversNtfs.sy
... the recovery disk are no longer available. ... Alt and D keys at the same time
to go to a command prompt. ... Once the floppy disc is ready, change the boot device
priority by: ... (microsoft.public.windowsxp.general) - Windows could not start because the following file is missing or corrupt: System32DriversNtfs.sys
... Alt and D keys at the same time to go to a command prompt. ... Saved file to
create a bootable floppy. ... Once the floppy disc is ready, change the boot device
priority by: ... (microsoft.public.windowsxp.general) - Re: Copying File Names into a List
... Command Prompt Copy & Paste ... mouse and use the Enter key to copy the highlighted
text to the Windows ... Highlight text with the cursor and hit the Enter key to
copy to the Windows ... (microsoft.public.windowsxp.newusers)