Tricks When Opening/Saving Files (Windows)

Did you know that the Open Dialog Box, and the Save Dialog Box that are common to most Windows programs contain much of the functionality of the Windows Explorer? The window pane that shows the list of files available to open (or to overwrite) is essentially a miniature Explorer, and as with Windows Explorer, there are a myriad of viewing and sorting features available. You can even do things like delete files, rename files, copy files to the clipboard, and more.
Open Dialog Thumbnails
Context Menu The default display is list view, but it can be changed icon views, the detail view, and even the thumbnail view. In the details view, the columns can be sorted. Most of the functions that are available in the context menu of the Windows Explorer are also available here.

When bringing up the context menu (right-click), you’ll notice that a “Select” option is added to the top. This is the default behavior for a dialog box, “select” meaning to return the name of the selected file(s) to the program that invoked the dialog box. Note: Do not confuse “Select” with “Open”, which launches (another instance of) whatever program is associated with the file name extension.
Open Dialog Details

Tip #1: Open Files by Age — Say that you want to open a Microsoft Word document that you know to exist in a certain folder, but you cannot remember the name of it and there are hundreds of Word documents in that folder. But you do recall that it was one of the oldest documents in that folder. Changing the display in the open dialog to list view allows you to get at the date modified attribute of each file. (Note: you may have to adjust the size of the dialog box first, or squeeze some of the leftmost columns, in order to see the date modified column). Click on the column heading to sort it in ascending order (oldest files on top). Click on the column heading again to sort it in descending order (newest files on top).

Tip #2: Rename as You Save — Say that you’ve been working on a document and you suddenly realize that you’ve been saving it with the wrong name. Maybe you are working on last year’s financial statement but accidentally named it “financials_2007.doc” when it should have been “financials_2006.doc”. You can certainly do a Save-As (F12) and give it the correct name, which will create a second copy of the file with the correct name, but it will leave the unwanted original file behind as well. So, here’s how to avoid that:

  1. Invoke the Save-As dialog box (F12).
  2. Adjust the view until the existing name (the wrong name) is visible by scrolling or sorting.
  3. Right-click on the wrong name and select “Rename”.
  4. Change it to the correct name.
  5. Select that as the save-as name.
  6. When Windows asks if you want to overwrite the file, answer Yes.

Tip #3: Open Multiple Files at Once — Multi-select usually works here (depending on the program). in case you’re not aware, here’s how multi-select works (in Windows, and in most Windows programs):

  • To select multiple items in a row, click on the item at the start of the range (or the end of the range) to highlight that one item. Then, hold down the shift key while clicking on the item at the other end of the range.
  • To additively select individual items, hold down the control key while clicking on them.
  • To deselect an individual item that has already been selected (either via a shift-click or a control-click), hold down the control key while clicking on it.

Comments

  1. One of the things I do all the time is delete files from the open dialog. It’s one of those “it seems wrong that I can do this” kind of thing, but really serves my lazy nature. Instead of opening up widows explorer and navigating to the directory where my documents are I click File | Open… Often times the open dialog is already pointing to the directory I’m working in so if I need to delete something, I’ve gotten there in one click. Note that as mentioned above you can also do this in the “Save…” dialog, but its much safer to use “Open” in case you accidentally press OK.

  2. Which reminds me, tip #2 will not work as described if the application that you are running maintains a lock on any open files. If that’s the case, when you try the rename you’ll get a message like “Cannot rename [file]. Access is denied.” There is a simple workaround for this. Forget about renaming the old file for the moment, but go ahead and continue the Save-As using the new name. Then, invoke Save-As a second time (or invoke the Open dialog) and use it to delete the original file, as Vlad pointed out. Then, cancel the second Save-As.

  3. I’ve been trying to find out for ages now, whether it’s possible to save the preferences, such as View by Details, and Sort by Date for Open and Save dialogs on XP.
    Any ideas?

  4. John, in fact, it is possible to save those preferences. All you have to do is to hold Ctrl while clicking “open” or “save”, or while closing the dialog box.

  5. God bless you, Alpha!
    I’m all tearing up here.. it works!
    This is certainly the most useful tip I’ve seen in a long time.

  6. Alpha, thank you so so much.
    I’ve been looking all day if there was a way to do that. I love you!

  7. I have been looking for the tip you describe to save dialog box settings for ages.

    Unfortunately it does *not* work for me. XPpro + Eudora’s “Attach File” dialog box.

    Any ideas why not?

    Thanks!

Post a Comment


Your email is never published nor shared. Required fields are marked *



© 2006-2007 Maxim Software Corp.  All rights reserved.