Sign in with
Sign up | Sign in
Your question

Command prompt has broke!

Last response: in Windows XP
Share
September 9, 2005 7:55:06 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

When ever I type in dir or cd or ping or anything like that into command
prompt I get a error saying the command dosent exist but it dose i was using
them 3 mounths ago.

Please Help

More about : command prompt broke

Anonymous
September 9, 2005 4:17:35 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Check your PATH.

Why don't my commands work?
http://internet.cybermesa.com/~bstewart/cmdprompt.html#...

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
badboy <badboy@discussions.microsoft.com> hunted and pecked:
> When ever I type in dir or cd or ping or anything like that into command
> prompt I get a error saying the command dosent exist but it dose i was
> using them 3 mounths ago.
>
> Please Help
September 9, 2005 4:17:36 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Nope I even downloaded the program and it said everything was okay.

"Wesley Vogel" wrote:

> Check your PATH.
>
> Why don't my commands work?
> http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
> badboy <badboy@discussions.microsoft.com> hunted and pecked:
> > When ever I type in dir or cd or ping or anything like that into command
> > prompt I get a error saying the command dosent exist but it dose i was
> > using them 3 mounths ago.
> >
> > Please Help
>
Related resources
September 9, 2005 4:39:27 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Arron>%windir%\system32\ping.exe

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name

Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.


C:\Documents and Settings\Arron>path
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Fi
les\Microsoft SQL Server\90\Tools\Binn\;C:\Program Files\Common
Files\Autodesk S
hared\;C:\Program Files\backburner 2\;C:\Program Files\NVIDIA
Corporation\NVIDIA
DDS Utilities;C:\EUPHORIA\BIN;

C:\Documents and Settings\Arron>

It seems to work when I do that but if i type ping into command prompt it
just says it cant find it.

Thanks for help.

"badboy" wrote:

> Nope I even downloaded the program and it said everything was okay.
>
> "Wesley Vogel" wrote:
>
> > Check your PATH.
> >
> > Why don't my commands work?
> > http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
> >
> > --
> > Hope this helps. Let us know.
> >
> > Wes
> > MS-MVP Windows Shell/User
> >
> > In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
> > badboy <badboy@discussions.microsoft.com> hunted and pecked:
> > > When ever I type in dir or cd or ping or anything like that into command
> > > prompt I get a error saying the command dosent exist but it dose i was
> > > using them 3 mounths ago.
> > >
> > > Please Help
> >
Anonymous
September 9, 2005 5:31:14 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command window type:

%windir%\system32\ping.exe

Hit your Enter key.

What happened? Did help for ping get displayed? Error message?
'ping.exe' is not recognized as an internal or external command,
operable program or batch file.

Open a command prompt...
Start | Run | Type: cmd | Click OK |
In the command window type:

path

Hit your Enter key.

This will copy the text from the command prompt...
Right click the top tool bar | Point to Edit | Click Select All |
Hit your Enter key.

Paste that into a message and post back.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:6BE2C4B9-AC38-499B-A8CB-39C1AD0F65D8@microsoft.com,
badboy <smackitup_10(at)hotmail(dot)com> hunted and pecked:
> Nope I even downloaded the program and it said everything was okay.
>
> "Wesley Vogel" wrote:
>
>> Check your PATH.
>>
>> Why don't my commands work?
>> http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
>>
>> --
>> Hope this helps. Let us know.
>>
>> Wes
>> MS-MVP Windows Shell/User
>>
>> In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
>> badboy <badboy@discussions.microsoft.com> hunted and pecked:
>>> When ever I type in dir or cd or ping or anything like that into command
>>> prompt I get a error saying the command dosent exist but it dose i was
>>> using them 3 mounths ago.
>>>
>>> Please Help
Anonymous
September 9, 2005 9:24:27 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

Hi Arron,

Pathext & Path

The environmental variable Pathext controls which extensions do not need to
be typed in a Command Prompt or Run. The Path environmental variable and a
registry entry, that I can't remember now, control what paths do not have to
be typed.

Pathext shows a list of file extensions that are considered to be
executable.

Set displays the current environment variables.
-----

Open a command prompt and type:

set

Hit Enter.

Look for PATHEXT.

Should look something like this ...

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

You may not have all of those. But, I'm betting that .EXE is missing.

COM extension is short for Command.
EXE is short for Executable.
BAT is short for Batch.
CMD Windows NT Command Script.
VBS VBScript Script File. Visual Basic.
VBE VBScript Encoded Script File.
JS JScript Script File.
JSE JScript Encoded Script File
WSF Windows Script File.
WSH Windows Script Host Settings File.

Path and set are internal commands and do not have an extension.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:843D4C93-5574-40A4-853C-410E6C29145F@microsoft.com,
badboy <smackitup_10(at)hotmail(dot)com> hunted and pecked:
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Arron>%windir%\system32\ping.exe
>
> Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
> [-r count] [-s count] [[-j host-list] | [-k host-list]]
> [-w timeout] target_name
>
> Options:
> -t Ping the specified host until stopped.
> To see statistics and continue - type Control-Break;
> To stop - type Control-C.
> -a Resolve addresses to hostnames.
> -n count Number of echo requests to send.
> -l size Send buffer size.
> -f Set Don't Fragment flag in packet.
> -i TTL Time To Live.
> -v TOS Type Of Service.
> -r count Record route for count hops.
> -s count Timestamp for count hops.
> -j host-list Loose source route along host-list.
> -k host-list Strict source route along host-list.
> -w timeout Timeout in milliseconds to wait for each reply.
>
>
> C:\Documents and Settings\Arron>path
>
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Progra
m
> Fi les\Microsoft SQL Server\90\Tools\Binn\;C:\Program Files\Common
> Files\Autodesk S
> hared\;C:\Program Files\backburner 2\;C:\Program Files\NVIDIA
> Corporation\NVIDIA
> DDS Utilities;C:\EUPHORIA\BIN;
>
> C:\Documents and Settings\Arron>
>
> It seems to work when I do that but if i type ping into command prompt it
> just says it cant find it.
>
> Thanks for help.
>
> "badboy" wrote:
>
>> Nope I even downloaded the program and it said everything was okay.
>>
>> "Wesley Vogel" wrote:
>>
>>> Check your PATH.
>>>
>>> Why don't my commands work?
>>> http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
>>>
>>> --
>>> Hope this helps. Let us know.
>>>
>>> Wes
>>> MS-MVP Windows Shell/User
>>>
>>> In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
>>> badboy <badboy@discussions.microsoft.com> hunted and pecked:
>>>> When ever I type in dir or cd or ping or anything like that into
>>>> command prompt I get a error saying the command dosent exist but it
>>>> dose i was using them 3 mounths ago.
>>>>
>>>> Please Help
Anonymous
September 10, 2005 12:22:29 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

badboy wrote:
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Arron>%windir%\system32\ping.exe
>
> Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v
> TOS] [-r count] [-s count] [[-j host-list] | [-k
> host-list]] [-w timeout] target_name
>
> Options:
> -t Ping the specified host until stopped.
> To see statistics and continue - type
> Control-Break; To stop - type Control-C.
> -a Resolve addresses to hostnames.
> -n count Number of echo requests to send.
> -l size Send buffer size.
> -f Set Don't Fragment flag in packet.
> -i TTL Time To Live.
> -v TOS Type Of Service.
> -r count Record route for count hops.
> -s count Timestamp for count hops.
> -j host-list Loose source route along host-list.
> -k host-list Strict source route along host-list.
> -w timeout Timeout in milliseconds to wait for each
> reply.
>
>
> C:\Documents and Settings\Arron>path
> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program
> Fi les\Microsoft SQL Server\90\Tools\Binn\;C:\Program
> Files\Common
> Files\Autodesk S
> hared\;C:\Program Files\backburner 2\;C:\Program Files\NVIDIA
> Corporation\NVIDIA
> DDS Utilities;C:\EUPHORIA\BIN;
>
> C:\Documents and Settings\Arron>
>
> It seems to work when I do that but if i type ping into
> command prompt it
> just says it cant find it.
>
> Thanks for help.
>
> "badboy" wrote:
>
>> Nope I even downloaded the program and it said everything
>> was okay.
>>
>> "Wesley Vogel" wrote:
>>
>>> Check your PATH.
>>>
>>> Why don't my commands work?
>>> http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
>>>
>>> --
>>> Hope this helps. Let us know.
>>>
>>> Wes
>>> MS-MVP Windows Shell/User
>>>
>>> In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
>>> badboy <badboy@discussions.microsoft.com> hunted and
>>> pecked:
>>>> When ever I type in dir or cd or ping or anything like
>>>> that into command prompt I get a error saying the command
>>>> dosent exist but it dose i was using them 3 mounths ago.
>>>>
>>>> Please Help

Take a look at this registry key:

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

In the right hand pane, does the Path entry have REG_EXPAND_SZ
listed in the Type column? If it's listed as REG_SZ it would
cause the type of behavior you're experiencing. Take a look at
the solution provided by David Candy in this thread:

http://tinyurl.com/drlw9

Nepatsfan
September 10, 2005 7:31:09 AM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

omg its working??? I dident do anything maybe i just had to type set in or
somthing and check the registry key Thanks for your help!!!!



"badboy" wrote:

> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Arron>%windir%\system32\ping.exe
>
> Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
> [-r count] [-s count] [[-j host-list] | [-k host-list]]
> [-w timeout] target_name
>
> Options:
> -t Ping the specified host until stopped.
> To see statistics and continue - type Control-Break;
> To stop - type Control-C.
> -a Resolve addresses to hostnames.
> -n count Number of echo requests to send.
> -l size Send buffer size.
> -f Set Don't Fragment flag in packet.
> -i TTL Time To Live.
> -v TOS Type Of Service.
> -r count Record route for count hops.
> -s count Timestamp for count hops.
> -j host-list Loose source route along host-list.
> -k host-list Strict source route along host-list.
> -w timeout Timeout in milliseconds to wait for each reply.
>
>
> C:\Documents and Settings\Arron>path
> PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Program Fi
> les\Microsoft SQL Server\90\Tools\Binn\;C:\Program Files\Common
> Files\Autodesk S
> hared\;C:\Program Files\backburner 2\;C:\Program Files\NVIDIA
> Corporation\NVIDIA
> DDS Utilities;C:\EUPHORIA\BIN;
>
> C:\Documents and Settings\Arron>
>
> It seems to work when I do that but if i type ping into command prompt it
> just says it cant find it.
>
> Thanks for help.
>
> "badboy" wrote:
>
> > Nope I even downloaded the program and it said everything was okay.
> >
> > "Wesley Vogel" wrote:
> >
> > > Check your PATH.
> > >
> > > Why don't my commands work?
> > > http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
> > >
> > > --
> > > Hope this helps. Let us know.
> > >
> > > Wes
> > > MS-MVP Windows Shell/User
> > >
> > > In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
> > > badboy <badboy@discussions.microsoft.com> hunted and pecked:
> > > > When ever I type in dir or cd or ping or anything like that into command
> > > > prompt I get a error saying the command dosent exist but it dose i was
> > > > using them 3 mounths ago.
> > > >
> > > > Please Help
> > >
Anonymous
September 10, 2005 12:30:13 PM

Archived from groups: microsoft.public.windowsxp.help_and_support (More info?)

You weren't holding your mouth right. ;-)

Glad you got it fixed. Keep having fun.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:909BC9AC-9F9A-4EE2-80C2-FF3E08703F89@microsoft.com,
badboy <smackitup_10(at)hotmail(dot)com> hunted and pecked:
> omg its working??? I dident do anything maybe i just had to type set in or
> somthing and check the registry key Thanks for your help!!!!
>
>
>
> "badboy" wrote:
>
>> Microsoft Windows XP [Version 5.1.2600]
>> (C) Copyright 1985-2001 Microsoft Corp.
>>
>> C:\Documents and Settings\Arron>%windir%\system32\ping.exe
>>
>> Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
>> [-r count] [-s count] [[-j host-list] | [-k host-list]]
>> [-w timeout] target_name
>>
>> Options:
>> -t Ping the specified host until stopped.
>> To see statistics and continue - type Control-Break;
>> To stop - type Control-C.
>> -a Resolve addresses to hostnames.
>> -n count Number of echo requests to send.
>> -l size Send buffer size.
>> -f Set Don't Fragment flag in packet.
>> -i TTL Time To Live.
>> -v TOS Type Of Service.
>> -r count Record route for count hops.
>> -s count Timestamp for count hops.
>> -j host-list Loose source route along host-list.
>> -k host-list Strict source route along host-list.
>> -w timeout Timeout in milliseconds to wait for each reply.
>>
>>
>> C:\Documents and Settings\Arron>path
>>
PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;c:\Progra
m
>> Fi les\Microsoft SQL Server\90\Tools\Binn\;C:\Program Files\Common
>> Files\Autodesk S
>> hared\;C:\Program Files\backburner 2\;C:\Program Files\NVIDIA
>> Corporation\NVIDIA
>> DDS Utilities;C:\EUPHORIA\BIN;
>>
>> C:\Documents and Settings\Arron>
>>
>> It seems to work when I do that but if i type ping into command prompt it
>> just says it cant find it.
>>
>> Thanks for help.
>>
>> "badboy" wrote:
>>
>>> Nope I even downloaded the program and it said everything was okay.
>>>
>>> "Wesley Vogel" wrote:
>>>
>>>> Check your PATH.
>>>>
>>>> Why don't my commands work?
>>>> http://internet.cybermesa.com/~bstewart/cmdprompt.html#...
>>>>
>>>> --
>>>> Hope this helps. Let us know.
>>>>
>>>> Wes
>>>> MS-MVP Windows Shell/User
>>>>
>>>> In news:BB2B1879-4E6C-4420-95E3-FB9FB8B30DA6@microsoft.com,
>>>> badboy <badboy@discussions.microsoft.com> hunted and pecked:
>>>>> When ever I type in dir or cd or ping or anything like that into
>>>>> command prompt I get a error saying the command dosent exist but it
>>>>> dose i was using them 3 mounths ago.
>>>>>
>>>>> Please Help
!