We help IT Professionals succeed at work.

URGENT File Association

grantwatson
grantwatson asked
on
232 Views
Last Modified: 2013-12-29
Hi,

I stupidly have Associated all my Perl scripts to notepad... How can i put them back...

Grant
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2006

Commented:
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Changing File Associations

You can change the default file association with these simple steps.
1.      Single-click a file.
2.      Hold the Shift key while right-clicking the file.
3.      Select "Open With..."  NOTE With Windows ME, you will have to select the option to "Choose Program".
Screenshot http://familyinternet.about.com/library/graphics/winopenwith.gif
4.      Select a program.
5.      Place a check mark next to "Always use this program to open this type of file" if you want to permanently change its file association. Otherwise, this will be a one-time solution.
6.      Click OK.

OR

You can also change file associations from the "Tools" menu in Windows Explorer by selecting "Folder Options" then the "File Types" tab. (In Windows 95 this option is located under the "View" menu)



"Every File Format in the World"
http://clk.about.com/?zi=1/XJ&sdn=familyinternet&zu=http%3A%2F%2Fwhatis.techtarget.com%2FfileFormatA%2F0%2C289933%2Csid9%2C00.html

Changing and Editing File Associations in Windows Millennium Edition
http://support.microsoft.com/?kbid=262808
Changes in File Types and File Association Features in Windows 2000 and Windows Server 2003
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257592
HOW TO: Change File Associations in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;307859

Author

Commented:
yep, had already tried those...
Technical Architect
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2005

Commented:

You can also delete the file extensions that are incorrectly associated in "File types" but do it BEFORE re-associating them with the "Open with" method and ticking "Always use..." by right-clicking the file, etc. etc.

It may also help if you reboot after deleting the extensions but before you re-associate them.

Zee

Author

Commented:
Thanks guys....

the problem was the following...

the Perl entry in Registry look like...

E:\Perl\bin\perl.exe "%1"

I changed it to

E:\Perl\bin\perl.exe "%1" %*

Grant
Top Expert 2005

Commented:

Well done.

Zee

Author

Commented:
Thanks
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
:) Tip Top - Glad UR FIxed :)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.