Tech Support Guy banner
  • Please post in our Community Feedback thread for help with the new forum software! If you are having trouble logging in, please Contact Us for assistance.
Status
Not open for further replies.
1 - 5 of 5 Posts

·
Registered
Joined
·
41 Posts
Discussion Starter · #1 ·
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

·
Registered
Joined
·
9,026 Posts
Sounds like you may have modified the path variable.
Open a Command Prompt and type PATH, then press Enter.
Post the result.
 

·
Registered
Joined
·
41 Posts
Discussion Starter · #3 ·
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.
 

·
Registered
Joined
·
9,026 Posts
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]
 
1 - 5 of 5 Posts
Status
Not open for further replies.
Top