Creating a Selection Set

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 30 years, working in different positions such as technical team leader, project manager, and software developer.  He is currently a senior software engineer with an emphasis on developing custom applications under Microsoft Windows. ...

MORE FROM BARRY

Understanding User Account Types

Windows supports three different types of user accounts. The type of account associated with a user is determined by how that ...

Discover More

Understanding the Command Line For Loop

A niche command that sometimes comes in handy is the FOR loop. It has several forms and therefore can serve several purposes. ...

Discover More

Using Batch Files, Part 4: The CALL Statement

This tip is part of a series that talks about Windows batch files. It introduces a few more commands you can use in your ...

Discover More
More WindowsTips

Setting a Restore Point

Restore Points let you go "back in time" to a point before you made system changes that could prove harmful to your system. ...

Discover More

Moving and Sizing Windows Using the Keyboard

Moving and sizing windows is a normal part of using the Windows operating system. There are times when you may want to do ...

Discover More

Moving and Resizing Windows

The ability to work on multiple things simultaneously is a hallmark of Windows. If you have many windows up at once, though, ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. 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 seven more than 5?

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
Subscribe

FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.