Selecting every file in a document folder at once is a huge time-saver when you need to copy, move, delete, or rename a large batch of files. Instead of clicking each file individually, you can use a keyboard shortcut, a menu command, or a mouse drag to highlight everything in one go. This guide covers the fastest methods for Windows File Explorer, macOS Finder, and Google Drive, plus what to do when the usual tricks don’t work.
What You’ll Need
- A computer running Windows, macOS, or access to Google Drive in a web browser.
- An open folder or Drive view containing the files you want to select.
- No special software or permissions are required—these are built-in features.
Step-by-Step
Windows 10/11 (File Explorer)
- Open the folder in File Explorer (press Win + E and navigate to your document folder).
- Click once inside the folder (on any empty area) to make sure it has focus.
- Press Ctrl + A on your keyboard. All files and subfolders in the current view will be highlighted.
- If you prefer the menu route, click the Home tab at the top of File Explorer, then click Select all in the Select group.
- To deselect, click anywhere on an empty space in the folder.
macOS (Finder)
- Open the folder in Finder (click the Finder icon in the Dock, then navigate to your documents).
- Click once in the folder window to make it active.
- Press Cmd + A. All items in the current view are selected.
- Alternatively, go to the Edit menu at the top of the screen and choose Select All.
- Click on empty space to clear the selection.
Google Drive (Web)
- Go to drive.google.com and open the folder you want.
- Make sure you are in the grid view (icon of a grid) or list view—both work.
- Click once on any file to give the page focus, then press Ctrl + A (Windows) or Cmd + A (Mac).
- All visible files will be highlighted with a blue checkmark. Note that Drive only selects the files currently loaded in the view—if you have thousands, you may need to scroll and repeat.
Using the Mouse (All Platforms)
- Click on an empty area near the first file you want to select.
- Hold down the mouse button and drag a rectangle that covers all the files you need.
- Release the mouse button—everything inside the rectangle is selected.
Common Mistakes
- Clicking a file first before pressing Ctrl+A—this usually still works, but if the file is in a list and you have a search box active, it might select only the search results, not the whole folder.
- Using Ctrl+A in the wrong window—if you have a text editor open, the shortcut selects text, not files. Make sure the folder window is the active window.
- Forgetting that subfolders are included—Select All picks up everything, including subfolders. If you only want files, you’ll need to manually deselect folders or use a filter.
- Dragging from inside a file—if you start the drag on a file icon, you might move that file instead of drawing a selection box. Always start on empty space.
Tips
- Use Shift+Click for a contiguous range: click the first file, hold Shift, click the last file—everything in between is selected.
- Use Ctrl+Click (Windows) or Cmd+Click (Mac) to toggle individual files on or off after a Select All.
- In File Explorer, use the search box to filter files first, then press Ctrl+A to select only the filtered results.
- In Google Drive, use the “Select all” checkbox at the top left of the file list to select all on the current page, then choose “Select all X items” in the popup to include everything in the folder.
- On a Mac, you can also choose Edit > Select All from the menu bar—handy if you prefer menus.
Troubleshooting
Ctrl+A / Cmd+A does nothing
Make sure the folder window is active (click on it once). If you’re in a web browser like Google Drive, click on a file first, then press the shortcut. If you’re in File Explorer, check that you haven’t accidentally opened a dialog box or a search pane that has focus.
Only some files are selected
This usually happens when the folder is in a “group by” view and you have collapsed groups. Expand all groups first (View > Expand All in File Explorer, or the disclosure triangles in Finder). In Google Drive, you may need to scroll to load more files, then press Ctrl+A again.
Select All selects hidden files too
If you have hidden files visible (like .DS_Store on Mac), they will be included. To avoid this, hide hidden files again via View > Hidden Items (Windows) or Cmd+Shift+. (Mac).
Can’t drag a selection box
If dragging starts moving a file, you’re probably starting on a file icon. Click on an empty area of the window (like the whitespace below the files) and drag from there. If the folder is in “List” view, try switching to “Details” or “Icons” view.
Select All in Google Drive selects only the current page
Drive loads files in batches. Use the checkbox at the top left, then click “Select all X items” in the small popup that appears to include all matching files, not just the visible ones.
Frequently Asked Questions
Does Ctrl+A select files in subfolders?
No, it only selects items in the current folder view. It does not recursively select files inside subfolders. To select everything in a subfolder, you need to open that subfolder and repeat the process.
Can I select all files of a certain type (e.g., only PDFs)?
Yes, use the search or filter feature first. In File Explorer, type *.pdf in the search box, then press Ctrl+A. In Finder, use a smart folder or search, then select all results. In Google Drive, use the search bar with “type:pdf” then select all.
What if I accidentally delete files after selecting all?
If you deleted them, check the Recycle Bin (Windows) or Trash (Mac/Drive). You can usually restore them by right-clicking and choosing “Restore.” For permanent deletion, you may need a file recovery tool.
How do I select all files in a folder on a Chromebook?
In the Files app, open the folder, then press Ctrl+A. The same shortcut works in Google Drive on a Chromebook.
Is there a way to select all files using a command line?
Yes, in Windows Command Prompt or PowerShell, you can use select * but that’s for SQL. For file selection, you typically use a script or just use the GUI. In macOS Terminal, you can use select but it’s not necessary—stick to Finder.
Why does Select All sometimes select the text of a file name instead of the file?
This happens when you’ve clicked directly on the file name text and are in rename mode. Press Enter to commit the rename, then click on the file icon or empty space before using Select All.
Related
- PLC Traffic Light Ladder Logic: How It Works
- Makita BTD144 3-Speed Brushless Impact Driver: Full Review
- Python Update Empty Dictionary: 4 Ways & When to Use Each
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Remove Background Formatting in Word 2007: What to DoIn Word 2007, remove a page background with Page Layout > Page Color > No Color, or remove…
- Free Excel Meal Plan Template: Build a Weekly PlannerYes—free Excel meal plan templates are available, and you can also build a simple weekly planner in a…
- Convert Excel to PowerPoint: Methods, Steps, and TipsTo convert Excel content into a PowerPoint presentation, select the cells or chart in Excel, copy them, and…
- Python join() Explained: Syntax, Examples, and TipsPython’s str.join() method combines strings from an iterable into one string, placing the string before the dot between…
- How to Add a Search Bar in Excel for Your WorksheetTo add a live search bar in Excel for Microsoft 365 on Windows, enter a search term in…
- Excel Data Model Calculated Field: What to Use InsteadFor a PivotTable built from Excel’s Data Model, you cannot add the classic PivotTable Calculated Field; use a…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.