Home > Sample chapters > Programming > Visual Studio and .NET

Working with Documents in Microsoft Visual Studio

04.10 Closing Just the Selected Files You Want

WINDOWS

Alt,W, W

MENU

Window | Windows

COMMAND

Window.Windows

VERSIONS

2005, 2008, 2010

CODE

vstipEnv0010

What do you do when you have a lot of files open and want to close only a few of them? Just go to Window | Windows on the menu bar, as shown in the following illustration.

Select the files you want to close (Ctrl+Left-click), and then click Close Window(s). It closes the windows you selected and leaves the rest open.