Ask Leo! #678 – Answering “How do you want to open this file?

This Week

Figuring out what and how to answer "How do you want to open this file?".

The Windows 10 Fall update is rolling out. One of the easier ways to tell if you have it? The sudden appearance of a little people icon in your taskbar.

Survey Results

Thank you thank you thank you to over 1,600(!) people that have responded to my survey!

As you might imagine that's a lot of data for me to look through, but I can share that I'm already seeing themes. The big three:

  • Security and Privacy - often specifically citing the Equifax hack as an eye-opening example.
  • Complexity - not only are the individual devices we use becoming more complex, but using them online and with each other greatly magnifies that complexity.
  • Technical support - when it's available at all it's frustrating to deal with and often impossible to understand.

Change, automatic updates, cost, and a wide variety of other issues are also represented.

One other trend is that often the concerns being raised have already been covered on Ask Leo!.

I need to do a better job of exposing what's already here and possibly not be quite as afraid of highlighting topical "re-runs" as I tend to be.

It also means that it might be worth exercising that search box on every page. With over 4,000 articles (whew!) and 14+ years, I've covered a ton of topics and situations.

Thanks again for participating, it's been very helpful!!

Leo

Answering "How do you want to open this file?"

(skip)

I got a file as an attachment to some email. I downloaded it, scanned it with my anti-virus, and then double clicked on it. Windows asked me “How do you want to open this file?” How should I know? Shouldn't Windows know? What do I tell it?

In an ideal world, Windows would know. In an ideal world, it would simply open the file, or, if you needed to take additional steps, it would tell you what those steps would be.

I'm sure by now you realize we don't live in an ideal world.

We need to learn a little about file types and file associations. Then we'll know how to answer the question we're being asked.

File types

You may notice that the files you use and interact with in Windows1 have names that end with what's called an “extension”. That's the set of characters following the last period in the file's name. For example, the file named “explorer.exe” has an extension of “.exe”.

Extensions tell us what type of file it is. An “.exe” file is an “EXEcutable” file — a file containing a computer program that can be run, or “executed”, on your computer. “explorer.exe” is the file containing the program Windows File Explorer.

There are hundreds, if not thousands, of different types of files. “.doc” and “.docx”, for example, are DOCuments, typically in Microsoft Word and Microsoft Word's eXtended format, respectively. A “.jpg” is a picture stored in JPEG (Joint Photographic Experts Group) format.

File associations

Not every program can open every type of file. Windows needs to know what program(s) can be used to open each specific file type, and if there are more then one, which one should be used by default.

This is called an “association” or “file type association”. For example, the Windows program Notepad is typically associated with the “.txt” extension, which represents a plain text file. Double click on a “.txt”, Windows looks up the associated program — Notepad — and runs it to open the file.

Similarly, if it's installed, Microsoft Word is generally associated with “.doc” and “.docx” files. Some kind of picture viewing or editing program will be associated with “.jpg” files, and so on. Even “.exe” files have a special association with Windows itself, since it has to know that they're programs to be run.

If you double-click on a file that has no program associated with its file type, Windows doesn't know what program to run to open it. “How do you want to open this file?” is the result.

How do you want to open this file?

Choosing from a suggestion

To get the dialog box pictured above, I created an “.ask” file that Windows doesn't know what to do with, and double-clicked on it.

Windows has a fairly default set of suggestions available; just click on the More apps link.

How do you want to open this file (more)

It's important to realize there's no guarantee that these suggestions will work — they're just programs that can open a large number of different file types. Windows really doesn't know what to do with the file I've double-clicked on, so these suggestions are — to put it bluntly — a shot in the dark.

In my case, one of those suggestions will work just fine: Notepad. So I've clicked on that.

The checkbox “Always use this app to open .ask files” is checked, meaning that Windows will remember this as an association in the future. If I click OK this time, then the next time Windows won't have to ask. It'll remember that “.ask” files are associated with Notepad.

Clicking on OK makes the association and opens the file in Notepad.

Example text file as a ".ask" file in Notepad

Changing an association

To change (or bypass) an association, start by right-clicking on the file you want to open, and then click on Open with…

Open with... in the right click menu

This will open the same “How do you want to open this file?” dialog, but with the current default (Notepad in my case) listed.

How do you want to open this file?

Click on More apps to display the list of suggestions once again.

How would you like to open this file? Wordpad!

This time I'll click on Wordpad, as it can also open plain text files.

The “Always use this app to open .ask files” is worth comment. I can do either of two things:

  • Leave it checked: This will change the association for “.ask” files to be Wordpad permanently. The next time I double-click on an “.ask” file, Wordpad will be used. You would use this to make a permanent change to the program to be used to open these files in the future.
  • Uncheck it: This will leave the association for “.ask” files unchanged. The next time I double-click on an “.ask” file, Notepad — the existing association — will continue to be used. You would use this if you only want to open the file in another program this one time.

Regardless of how I set the checkbox, when I click OK, Wordpad is used to open the file.

Wordpad on example file

What if the program you want isn't listed?

You might notice an additional link in the dialog boxes above: “Look for another app on this PC”.

Click on that, and you'll be presented with a traditional File Open dialog box. The intent is that you locate the program (the “.exe” file) that you already have installed on your machine that knows how to open the type of file you're dealing with. Locating that program will require you to know what folder it was installed into; usually a sub-folder of one of the top level “Program Files” folders.

If you don't have a program already installed on your machine that knows how to open that particular file type, none of this will work. You'll need to locate such a program and install it on your machine. Typically, doing so will automatically set the association for you.

What if I don't know what I want?

If you don't know what a file type represents, or what program might open a specific file type, then it's time for some research. The short answer is you'll need to:

  • Understand the intent of the file type you've been presented with. For example, knowing that (or looking up on the web) “.jpg” is an image file.
  • Locate a program that knows how to deal with that file type. That might mean realizing that the already-installed Paint program will work for your images, or that you might need (or simply want) to install and use a different program that's more suitable to your needs.

I actually experienced this several years ago. I'd asked for some of my medical imaging in digital form for my records, and received the images in what is apparently a medical image standard format. Unfortunately, it's not a general purpose standard, and I had no way to open the files.

I researched the file extension used2 and learned that the IrfanView image viewing program would display it properly. I installed the program and the association was made for me, after which I could simply double-click on the file.

Related Links & Comments: Answering "How do you want to open this file?"
https://askleo.com/30600

The Ask Leo! Tip Of The Day!

An emailed tip six days a week to help you use your computer, and your technology, more effectively and with more confidence. Includes online access to all previous tips, as well as Ad-Free Ask Leo!

There's something for everyone, from beginner to the experienced computer user.

By popular demand: now available as a monthly or annual subscription.

Support Ask Leo! by purchasing a subscription to The Ask Leo! Tip Of The Day.

Thanks!

-Leo

No Ads

What's This New "People" Icon in My Taskbar?

One of the easiest ways to determine if your Windows 10 machine has been updated to the “Fall Creators Update” is the appearance of a new icon to the immediate left of the notification area of the Windows taskbar. Hover your mouse pointer over it, and you'll see it's labeled “People”.

People Icon

It's a new feature in Windows 10. My sense is it's somewhat half-baked, and ultimately more annoying than useful.

But perhaps that's just me.

Continue Reading: What's This New "People" Icon in My Taskbar?
https://askleo.com/30633

The Ask Leo! Tip of the Day

A feature exclusively available to Ask Leo! Patrons Bronze level & above.

More Ask Leo!

Become a Patron
Books - Business - Glossary
Facebook - YouTube - More..

Leo's Other Projects....

HeroicStories Since 1999, HeroicStories brings diverse, international voices to the world ' reminding us that people are good, that individuals and individual action matter. Stories - new and old - are published twice a week.

Not All News Is Bad - Each day I look for one story in the current news of the day with a positive bent. Just one. And I share it.

leo.notenboom.org - My personal blog. Part writing exercise, part ranting platform, it's where I write about anything and everything and nothing at all.

Help Ask Leo! Just forward this message, in its entirety (but without your unsubscribe link below) to your friends. Or, just point them at https://newsletter.askleo.com for their own FREE subscription!

Newsletter contents Copyright © 2017,
Leo A. Notenboom & Puget Sound Software, LLC.
Ask Leo! is a registered trademark ® of Puget Sound Software, LLC