Changing the Default Program for a File

by Barry Dysert
(last updated July 11, 2016)

One of the interesting things about Windows is that a file's "type" determines what program is used to open that file. For example, .txt files are, by default, opened with Notepad. If you have Microsoft Office installed, .docx files are opened with Microsoft Word, etc. You may come across an occasion where you want to change what program is used for a particular file type.

Let's say that you have text files with a ".log" extension, and you want to have them open with WordPad. Right-click on a .log file and select "Properties" from the resulting Context menu. Windows displays the Properties dialog box for the file. (See Figure 1.)

Figure 1. The Properties dialog box for a .log file.

To designate WordPad as the program that will open .log files, click the Change button. Windows displays the Open With dialog box. (See Figure 2.)

Figure 2. Choosing the program that will open .log files.

Note that I have scrolled the window down to the bottom to find WordPad listed. (If the program you want to use is not listed, click the Browse button to find it.) Now click the "WordPad" item and OK your way back to Windows. From now on (unless it's changed), WordPad will be the program used to open all your .log files.

 This tip (11819) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

How to Find Apps Faster

This tip reveals a little-known trick that enables you to move around your Start menu a little faster. The result is getting ...

Discover More

Evaluating System Performance Using the Task Manager

One of the many functions of the Windows Task Manager is to allow you to see how your system is performing. If necessary, you ...

Discover More

Changing the Size of the Taskbar

The Taskbar is the "heart" of managing your work in Windows. Fortunately, it can be sized to your heart's content. This tip ...

Discover More
More WindowsTips

Creating a System Repair Disc

Doing a one-time create of a system repair disk can be worth its weight in gold if you find yourself unable to boot your ...

Discover More

Using Sync Center

Sync Center is a centralized place where you can deal with your offline files. You can do a manual sync, set up a sync ...

Discover More

Creating a CD/DVD Archive

CDs and DVDs are good for creating archives of files you want to keep over the long term. They are a great way to back up ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 9 + 4?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.