Windows Vista: The Complete Reference (Complete Reference Series)

The basic file and folder operations-creating, selecting, naming, and opening-are relatively unchanged from earlier versions of Windows.

Creating Files and Folders

New folders and files of certain types can be created on the desktop or in Windows Explorer. On the desktop, right-click any empty area and choose New on the shortcut menu. In Windows Explorer, click the folder in which you want to create the new object and then choose File New (or right-click any empty spot in the working area and choose New on the shortcut menu). All of these actions produce a submenu that lists the new objects you can create: folders, shortcuts, and a variety of types of files. Select an element of this list, and Windows creates the appropriate object. You can also create shortcuts by using this method (see Chapter 9).

You can create files of types other than the types listed from within application programs.

Selecting Files and Folders

Files and folders are represented on the desktop and in Windows Explorer by icons, with the name of the file or folder printed underneath or beside its icon. A file icon is a rectangle that looks like a piece of paper. The rectangle bears the design of the default program that opens the file. An Excel file icon, for example, looks like this: BALANCESHEETT

A folder icon looks like a manila folder. A compressed folder icon looks like a folder icon with a zipper on it.

Under the default settings, you select a file or folder by clicking its icon, and you open it by double-clicking. If you don't like all this clicking (or you're afraid of getting repetitive stress syndrome), you can adjust Windows Explorer so that resting the cursor on an icon selects the corresponding object, and single-clicking opens the object (see "Replacing Double-Clicks with Single-Clicks" in Chapter 9).

To select more than one object, select the first object and then press CTRL while you select others. (If you don't press CTRL, selecting one object deselects all the others.)

If the objects you want to select are close together, move the cursor to an empty spot nearby, hold down the left mouse button, and drag the cursor. A rectangle forms, and any object inside the rectangle is selected. When you release the mouse button, the rectangle disappears, but the objects it contained continue to be selected. You can get the same effect by using SHIFT instead of dragging the mouse: Select an object, and then hold down SHIFT and select another object. All objects in an imaginary rectangle containing the two selected objects are also selected.

More complicated patterns of objects can be selected by combining the two methods :

  1. Drag out a rectangle that contains most of the objects you want to select (and perhaps some others). That is, click in one corner of an imaginary rectangle, hold down the mouse button, and drag the mouse pointer to the opposite corner of the rectangle.

  2. Release the mouse button and press CTRL.

  3. While pressing CTRL, deselect unwanted objects (if any) by clicking them.

  4. Keep pressing CTRL, and select any additional objects you want by clicking them.

To select all the items in a folder, open the folder and choose Edit Select All from the Explorer window's menu bar or press CTRL-A. To select all but a few objects in a folder, choose Select All and then hold down CTRL while you deselect those few objects.

You can also use the keyboard to select multiple files. To select consecutive files in a single list or column, select the first file and then hold down SHIFT while pressing the DOWN ARROW key until you reach the last file. To select all the files in a rectangular grid, select the file in one corner of the rectangle and then hold down SHIFT while pressing the UP or DOWN ARROW key until you reach the opposite corner.

To select files that aren't listed together, select one file, hold down CTRL, press the UP or DOWN ARROW key to move to the next file you want to select, and press SPACEBAR to select it. Continue holding down CTRL, moving, and pressing SPACEBAR until you select all the files you want.

Tip  

If you want to select most of the files in a folder, select all the items you don't want to include. Then choose Edit Invert Selection to deselect the selected items and to select the deselected ones.

Naming and Renaming Files and Folders

Newly created folders and files are given default names , such as New Folder and New Microsoft Word Document. To rename a file or folder, click its icon and choose File Rename from the menu bar (press ALT if the menu bar is not displayed), right-click the icon and choose Rename from the shortcut menu, or press F2. A box appears around the current name, and the entire name is selected. Type the new name in the box and press ENTER.

You can also rename by selecting an object and then clicking the name next to the icon. Again, a box appears around the current name and you proceed as before. Be sure to pause slightly between selecting the object and selecting its name- otherwise , you open the object.

If the new name is only a minor change from the old one, edit the old name instead of typing the new one. Click inside the name box at the place where you want to begin typing or deleting.

Changing a File's Extension

Changing a file's extension changes its file type. Don't do this unless you know what you're doing. If you assign the file a type that Windows doesn't recognize, it won't know how to open the file. If you assign the file a type Windows does recognize, whenever you open the file, Windows uses the application associated with that file type. Unless you prepare the file in such a way that is appropriate for that application, the opening fails. (Consider, for example, the Paint program trying to open an audio file-it doesn't work.)

Before you rename a file, check whether Windows Explorer is displaying the file extensions (see "What Are Extensions and File Types?" earlier in the chapter). Just look at some files and see whether their names end with a period and three or four letters . If file extensions are hidden, you can't change them when you rename a file. If they are displayed, you can change them. When you rename a file whose extension is displayed, you must include the extension in your renaming or else the file type is lost. Conversely, if you type in a file extension when the extension is hidden, you wind up with a double extension, like Report.doc.doc. (It's perfectly legal to name a file Report.doc.doc, but you could confuse yourself.)

Note  

Windows always displays file extensions that it doesn't recognize. You can tell that Windows doesn't recognize a file's extension if the file has a generic icon like this:

If you change a file's extension (and thus its file type), Windows gives you a warning that the file may become unusable and asks you to confirm your decision. This feature, although annoying, may save you from making an occasional mistake.

Opening Files and Folders

You can open a folder by double-clicking its icon. The folder contents are displayed in an Explorer window.

Double-clicking a file icon opens the file using the default application for that file type. You can open a file in some other compatible application by right-clicking the file icon and selecting an application from the Open With menu, by dragging-and-dropping the icon onto an application's icon, or by using the File Open command from the application's menu.

You can change the settings of Windows Explorer so that only a single-click is required to open a file or folder (see "Replacing Double-Clicks with Single-Clicks" in Chapter 9).

Opening a File with the Default Application

If a file has a file type that Windows recognizes, double-clicking the file icon in an Explorer window opens the file with the application associated with that file type.

If you open a file in an Explorer window and Windows doesn't recognize its file type, or if that file type has no associated application, a message box appears letting you know Windows cannot open the file. You can use the web service to let Windows automatically locate a program to open the file type or you can manually select a program to use.

Some file types may have more than one application associated with them (see "Associating a Program with a File Extension" in Chapter 3). To check, right-click the file icon and see if a command like Edit appears under Open in the shortcut menu. For example, in the default configuration, image files open with Image Preview but are edited with Paint.

With Vista, you also can choose the down arrow of the Open button on the Explorer window. Then select Choose Default Program, which displays the Open With dialog box. Figure 8-5 shows the Open button's Choose Default Program command.

Figure 8-5: Use Vista's new Open button to display options for selecting the application to launch a file.

Opening a File from the Open With Menu

At times, you might want to open a file with an application other than the one associated with its file type. For example, Windows by default associates HTML files (with extension .htm or .html) with Internet Explorer; but, if you want to open an HTML file with Mozilla Firefox instead, you can right-click the file's icon in an Explorer window (or on the desktop) and select an application from the Open With menu. The Open With menu lists the applications that Windows knows can open the selected type of file. Initially, these are probably only Microsoft applications like WordPad or Paint. But if you don't see the application you want, select Browse to see an Open With dialog box and a larger list of applications.

When you have found and selected the application you want to use to open the file, click the Open button in the Browse window. You return to the Open With dialog box, and the application you found is now listed and selected. If you want this application to become the new default application for this file type, check the Always Use The Selected Program To Open This Kind Of File check box. Whether you have checked this box or not, click OK to make the Open With dialog box disappear and open the file.

This may seem like an arduous process just to open a file, but fortunately you only have to do it once. Now that you have used the Open With menu to open a file of this type with this application, the application should appear on the Open With menu for any file of this type. In addition, the application appears in the Open With dialog box for files of any type.

Opening a File by Dragging-and-Dropping

If both the file icon and the application icon (or shortcuts to either) are visible on your screen, drag-and-drop the file icon onto the application icon. If you do this frequently with a particular application, create a shortcut to the application on the desktop (see "Making Shortcuts" in Chapter 9).

Opening a File from Within an Application

If an application is open, choose File Open from its menu bar. The Open window appears and enables you to indicate which file to open.

Категории