Creating a Selection Set

Written by Barry Dysert (last updated February 20, 2017)

2

There are probably times when you want to perform an operation on a set of files all at once, for example, copying, moving, or deleting them. Creating a selection set is easy using Windows Explorer. The thing you have to remember is to use the Shift or the Ctrl key as you make your selection. The Shift key works to make a contiguous selection and the Ctrl key works to make a non-contiguous selection.

For example, say that you had a number of different files listed in a folder, named file1 through file6. (See Figure 1.)

Figure 1. A set of unselected files.

To select files 2 through 5 you would first click on file2, then hold down the Shift key as you click on file5. All the intervening files are automatically selected and you've created a selection set. (See Figure 2.)

Figure 2. Using Shift to select contiguous files.

On the other hand, if you wanted to select files 2, 4, and 6, you would first click on file2, then as you hold down the Ctrl key, click on file4 and file6. Each file you click as you hold down the Ctrl key adds that file to the selection set. (See Figure 3.)

Figure 3. Using Ctrl to select discontiguous files.

If you want to remove a file from your selection set (a file you previously added), just hold down the Ctrl key as you click on the file you want removed.

 This tip (12876) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Disabling Automatic Updates

If you don't like that Windows automatically downloads and applies updates in the middle of the night, you can gain some ...

Discover More

Switching between Users in Windows

You can switch between users (and come back) without having to close down your current workspace. This tip tells you how ...

Discover More

Copying Data with Robocopy

Robocopy is a robust file copy utility built into Windows. If you have a lot of file management to do that can't easily ...

Discover More
More WindowsTips

Disabling Startup Apps

As your computer starts up, certain apps may be causing your system to run or startup slowly. A quick check of your ...

Discover More

Starting Programs Automatically at Startup

If you have programs that you want to automatically start when your system starts, this tip tells you how to set them up.

Discover More

Understanding Jump Lists

Jump lists are great productivity enhancers to Windows 7. By using jump lists, you can easily access frequently used ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2017-02-20 09:32:07

Carlos Villar

Hi Barry. In all versions of Windows I have, I use a third method more precise but similar to the first of the methods you describe in your tip, for the cases when ítems to be selected in a list are ordered in a continuous sequence of rows. In your example, if you want to select files 2, 3 and 4 but exclude 1, 5 and 6, I put the cursor on file 2 and press Ctrl. Then I put the cursor on file 4 abd press Shift. All the files in between are selected. It works both downwards and upwards. It is practical wuen you are selecting several dozens of files in a directory with hundeds of rows. It may be used to select rows in Excel, etc. If the rows to be selected are few, you may sweep the Shift key as you explain, but it is unnecessary. Only touch with Shift the last row, immediately after touching the first with Ctrl..


2016-06-04 21:16:31

boulder80305

I still don't see that option. I need to bulk rename these see how their title tags are too similar. https://drive.google.com/open?id=0B4MvkcMfDDh-YUxJYXRFV1VVc00


Newest Tips