Opening Multiple Files

Home Page (Text Editor)OverviewHow Do I ... TopicsFAQReference

You can open multiple files from the Open dialog box by using the mouse to select a file or group of files. Before you can select files, they must be visible in the Directories window.

What do you want to do?

Open two or more files in sequence

Open two or more files out of sequence

To open two or more files in sequence

  1. From the File menu, choose Open.

  2. Select the drive and directory where the files are stored.

    The default is the current drive and directory.

  3. Specify the types of files to display in the Files of type box.

    Files with the chosen extension are displayed in the list box. For example, Project Workspaces displays all files with the .dsw extension. The Files of type box initially lists commonly used file extensions. The default shows the .c, .cpp, .cxx, .h, and .rc extensions.

    Tip   You can specify wildcard patterns in the File name box to display file types. You can use any combination of wildcard patterns, delimited by semicolons. For example, if you type *.h;*.cpp, all files with these extensions are displayed. The wildcard patterns you specify are retained until you close the dialog box.

  4. Click the first file or directory you want to select.

  5. Hold down the SHIFT key while you click the last file or directory in the group, and then click Open.

To open two or more files out of sequence

  1. From the File menu, choose Open.

  2. Select the drive and directory where the files are stored.

    The default is the current drive and directory.

  3. Specify the types of files to display in the Files of type box.

    Files with the chosen extension are displayed in the list box. For example, Project Workspaces displays all files with the .dsw extension. The Files of type box initially lists commonly used file extensions. The default shows the .c, .cpp, .cxx, .h,  and .rc extensions.

    Tip   You can specify wildcard patterns in the File name box to display file types. You can use any combination of wildcard patterns, delimited by semicolons. For example, if you type *.h;*.cpp, all files with these extensions are displayed. The wildcard patterns you specify are retained until you close the dialog box.

  4. Hold down the CTRL key while you click each file or directory that you want. After your selection is complete, click Open.

    To cancel a selection, hold down CTRL while you click the selected file or directory.