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

Creating a System Repair Disk on a USB Flash Drive

Having a system repair disk is almost as important as doing regular backups. CDs and DVDs, though, tend to get scratched ...

Discover More

Using Robocopy with File Sizes and Ages

Robocopy is a robust file copy utility built into Windows. The various switches built into the program provide very ...

Discover More

Using Powercfg to Change the Name of a Power Scheme

The Powercfg utility allows you to control how power is used on your system. This tip shows you how to use the ...

Discover More
More WindowsTips

Currency Conversions

The need for currency conversions is an increasing need in a more connected world. The calculator found within Windows 10 ...

Discover More

Understanding Properties

Most of the objects that Windows makes available in its interface possess properties. These properties allow you to ...

Discover More

Which Version of Windows am I Running?

With Windows it has always been helpful to know what version you are running. With Windows 10 knowing the version isn't ...

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 two more than 7?

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