Jump to content

Change default program a file extension opens with


Recommended Posts

Hello I created a simple program to print labels with a Dymo Label Creator.  However there is one part I cant seem to figure out how to automate.  the labels are saved like this file1.label, I need to change all .label extensions to open with a file in the script folder named printlabel.exe 

 

I have been doing it manually by right clicking the .label file, going to properties, and changing the opens with settings.  Is there any simple command I can run to change them automatically without having to right click and go into the properties?

This is what I want to automate>

5abbb75109449_beforechange.PNG.1388b83f46a055afa33ac59c8a79d75c.PNG5abbb7bf47c5b_afterupdate.thumb.PNG.d0d9546dfe0dfbf401f54851f7d74bab.PNGupdated.PNG.d76a348e32e75766f05347d8a141f008.PNG

Hope my request is easy to understand.   Thanks!!

Link to comment
Share on other sites

  • Moderators

File extension details are maintained in the registry, under HKEY_CLASSES_ROOT. If you do a search of the forum you will find where this has been done.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...