One of less than obvious tools Windows offers is the right-click menu within file dialog boxes. Give it a try: open an application and then press Ctrl-O or click the Open icon to display the Open dialog box. Right-click any of the files or folders displayed in that dialog and you'll see a context menu pop open. This is the same context menu you'll find in Explorer windows. From that context menu, you can perform all sorts of file tasks, from renaming or deleting a file, to scanning it with your antivirus software.
Run any Windows application and you'll find its Open and 'Save As' dialog boxes look pretty much like the dialog boxes in any other application. That's because Microsoft provides programmers with a set of common dialog boxes. Any programmer may use these pre-designed dialog boxes to provide standard file management for their application. In fact, Microsoft encourages programmers to use the common dialogs in order to give Windows users a more consistent experience from one app to another. You may have noticed that in Windows 7, the single dialog box approach seems to have been derailed. That's because some apps, such as Adobe Acrobat 9 and Corel PaintShop Photo Pro X3, still use the old Windows XP dialog boxes instead of the revamped Windows 7 version. The most obvious difference between the two is that XP's rather restrictive Places bar is replaced by a more extensive navigation pane in the newer dialog boxes.
One feature that's remained consistent from XP to Windows 7 is the availability of right-click options within the file dialog boxes. So while you normally use the Open or 'Save As' dialogs to simply open or save a file, you can actually achieve a whole lot more through them. This is useful for a variety of tasks:
- Deleting unwanted files.
- Quickly performing a task that you'd otherwise perform later, such as converting a document to a PDF.
- Scanning a file for viruses.
- Playing an .mp3 music file (or if you have Winamp installed, you can queue a whole folder full of audio files to play).
- Adding a folder to a Windows Library.
- Performing a variety of on-the-fly actions when you notice something that needs changing, such as a filename.
The exact options you have available will depend on the software installed on your computer. For instance, you won't be able to do PDF conversions unless you have Acrobat or another PDF program installed.
Limitations and extensions
There are some limitations on what you can do via the dialog boxes, too. For example, if you're working on a document in Microsoft Word and you open the 'Save As' dialog box, you won't be able to right-click another Word document and select Open to open it for editing as well. That's because the dialog box you're using has focus, meaning you have to close it before you can do anything else within Word.
There's nothing stopping you from opening a document within another program. For example, you can open an Excel spreadsheet from within Word's 'Save As' dialog box.
- Press F12 in Word to open the 'Save As' dialog box.
- You'll note that the only files displayed are those you can edit in Word, such as .docx, .doc, .pdf, .txt and so on. To display Excel files, type
*.xlsor*.xlsxin the 'File Name' box and press Enter. (If you prefer to display all files, type*.*in the 'File Name' box and press Enter.) - Right-click an .xls file and select Open from the context menu to open it in Excel. While you're editing the Excel spreadsheet, your Word dialog box will remain open, patiently awaiting your return. In fact, you could perform the same trick within Excel, opening a JPEG image for editing from within the Excel 'Save As' dialog box, in true babushka doll fashion.
Microsoft Word lets you perform another handy trick via the file dialog box: you can copy the contents of one document into another one.
- Press F12 to display the 'Save As' dialog box.
- Right-click any Word document and select Copy.
- Click Cancel to close the dialog box.
- Press Ctrl-V to paste the contents of the file into the document you're currently editing.
Note that this technique doesn't work if you try it with any other type of file or in most other programs; either nothing happens or you end up inserting the file itself — not the contents of the file — into the document you're editing.
Top tip: Resizing dialogs
You can resize a dialog box by dragging the dimpled ‘handle’ in its bottom-right corner. You can also double-click the dialog box’s title bar to maximise it and then double-click it once more to restore the box to its former size.






