Problem with command mode

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

arungoogol

Thread Starter
Joined
Mar 2, 2010
Messages
41
I've recently installed strawberry perl

after that when i use command prompt i cant use command like ping, ipconfig

if entered those commands it says it is not recognizing as internal or external command


NOTE: PLEASE FIND ATTACHMENT
 

Attachments

Joined
Aug 7, 2007
Messages
9,028
Sounds like you may have modified the path variable.
Open a Command Prompt and type PATH, then press Enter.
Post the result.
 

arungoogol

Thread Starter
Joined
Mar 2, 2010
Messages
41
Yes Mr. Theoutcaste

if i typed path

it shows a path of perl root files, how to change it default and also i need to execute perl programs also, hope u understand the situation.

Advance Thanking you.
 
Joined
Aug 7, 2007
Messages
9,028
The default path is:
Code:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
Plus anything any other programs may have added. No way to tell what at this point. Windows Live, some Antivirus programs, Acronis True Image, Powershell, ATI Control panel, all make changes to the path statement and may need to be re-installed to work properly,

Best option is to do a system restore to a point before you installed Perl, then re-install Perl.

Or you can add the default path to what is there now, and re-install any applications/drivers that don't work properly.

To add this back in:
Click Start, right click My Computer, click Properties.
Click the Advanced tab.
Click the Environment Variables button.
Under the System variables section, double click PATH.
Click once in the Variable value: field to select it (do not delete what is already there).
Press the Home key on the keyboard.
Type (or copy and paste) the following:
Code:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
Click OK until you are back at the Desktop.
Open a new Command Prompt window
Type PATH, it should now display the default followed by the path to the perl program that is there now:
Code:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;[COLOR=Red]<path to perl>[/COLOR]
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top