Shift-click stops working when your file manager loses track of which file you selected first
Shift-click file selection — holding Shift and clicking a second file to select everything between — fails because your file manager either crashed, lost focus, or switched views without remembering your first selection. The file manager needs to know where your selection started. If it forgets, or if you accidentally click somewhere else first, Shift-click has nothing to anchor to and selects only the file you just clicked.
The fix depends on what broke it. Most of the time, clicking the first file again and then Shift-clicking the last file works when ready. If that does not work, the problem is usually one of a few specific things: your file manager window lost focus, you switched folders or changed the view, or the file manager itself has a bug that requires a restart.
Key Takeaways
- Shift-click selection requires your file manager to remember which file you selected first; if it forgets or loses focus, the selection anchor disappears.
- Clicking the first file again, then Shift-clicking the last file, resets the anchor and usually fixes the problem when ready.
- Switching folders, changing the view (list to icon view, for example), or clicking in an empty area all clear the selection anchor.
- If Shift-click still does not work after resetting, restart your file manager or check whether your mouse or keyboard is responding correctly to other actions.
Your file manager lost focus or you clicked elsewhere first
The most common reason Shift-click stops working is that you clicked somewhere else between your first click and your Shift-click. If you click an empty area of the file manager window, click the address bar, click a folder, or switch to a different window, your file manager forgets which file was the starting point.
Fix this by clicking the first file in your range again to set a new anchor point, then hold Shift and click the last file. Your file manager will now select everything between them. This works in Windows File Explorer, macOS Finder, and most Linux file managers like Nautilus or Dolphin.
You switched folders or changed the view
Changing folders clears the selection anchor because you are now looking at a different set of files. The same thing happens if you switch from icon view to list view, or from one sort order to another — your file manager treats it as a new context and does not carry over the selection memory.
If you need to select files across different folders, you will have to select them one at a time using Ctrl+click (or Cmd+click on macOS) instead of Shift-click. Shift-click only works within a single folder view.
Your file manager window lost focus
If you click into a different window — your web browser, a text editor, another folder window — and then come back to your file manager and try Shift-click, the file manager may have forgotten your selection. This is especially common if you have multiple file manager windows open.
Click the first file again to re-establish the anchor, then Shift-click the last file while keeping your focus in that window. Avoid clicking into other windows between your first click and your Shift-click.
The file manager itself has a bug or needs a restart
Occasionally a file manager gets into a state where Shift-click does not work at all, even after you click the first file again. This usually means the file manager process has a temporary glitch. Close the window completely and open a new file manager window. On Windows, you can also try restarting File Explorer by opening Task Manager (Ctrl+Shift+Esc), finding Windows Explorer in the list, and clicking Restart.
On macOS, quit Finder by pressing Cmd+Q, then open it again by clicking the Finder icon in the Dock. On Linux, close your file manager window and open a new one from your process menu or by typing the command in a terminal (usually nautilus, dolphin, or thunar depending on your desktop).
Your keyboard or mouse is not responding correctly
If Shift-click does not work even after restarting your file manager, the problem might be with your input devices. Test whether Shift is working by opening a text editor, typing some text, holding Shift, and pressing an arrow key — the text should highlight. If Shift does not work in the text editor either, your keyboard may have a stuck key or a connection problem.
Test your mouse by clicking different files one at a time without holding Shift. If single clicks work but Shift-click does not, try a different mouse or keyboard if you have one available. Wireless keyboards and mice sometimes lose connection briefly; try turning them off and back on, or replacing the batteries.
Shift-click works differently in some file managers
A few file managers handle Shift-click differently than the standard behavior. Some older or minimal file managers may not support range selection at all. If you are using a specialized file manager or one designed for a specific purpose, check its documentation or help menu to see whether Shift-click is a supported feature.
If your file manager does not support Shift-click, you can select multiple files by holding Ctrl (or Cmd on macOS) and clicking each file individually. This takes longer but works in every file manager.
Frequently Asked Questions
Why does Shift-click work sometimes but not other times?
Shift-click works only when your file manager remembers which file you selected first. If you click anywhere else, switch folders, change the view, or click into a different window, that memory clears. Click the first file again to reset the anchor point, then Shift-click the last file.
Does Shift-click work across multiple folders?
No. Shift-click only selects files within the same folder and view. To select files from different folders, use Ctrl+click (or Cmd+click on macOS) to select them one at a time, or copy files from one folder to another and select them together.
What is the difference between Shift-click and Ctrl-click?
Shift-click selects a range from your first click to your second click. Ctrl-click (Cmd-click on macOS) adds or removes individual files from your selection without selecting everything in between. Use Shift-click for ranges and Ctrl-click for scattered files.
Can I use Shift-click on a touchpad?
Yes. Hold Shift on your keyboard and tap the touchpad where the last file is. Some touchpads require you to use two fingers or a specific gesture; check your touchpad settings if it does not work the first time.
What should I do if restarting the file manager does not fix it?
Test your keyboard and mouse in other programs to make sure Shift and clicking work correctly. If they do not, your input devices may need troubleshooting. If Shift and clicking work elsewhere but not in the file manager, try updating your file manager or using a different one.