Selecting every file in a Windows folder is a one-click or one-keyboard-shortcut task that lets you copy, move, delete, rename, or compress a whole group of items at once. The fastest universal method is pressing Ctrl+A while the folder window is active, but there are several other ways depending on what you’re trying to do. This guide covers all of them for Windows 10 and Windows 11.
What You’ll Need
- A Windows PC (Windows 10 or Windows 11; steps are nearly identical on both).
- An open File Explorer window (the folder icon on the taskbar, or press Win+E).
- Access to the folder whose contents you want to select. No special permissions are needed just for selecting.
Step-by-Step
Method 1: Keyboard Shortcut (Fastest)
- Open the folder in File Explorer.
- Click once anywhere inside the folder’s content area (the white space, not on a file) so the window has focus.
- Press Ctrl+A on your keyboard. On a Mac keyboard connected to Windows, use Ctrl+A as well (the Command key does not work for this in Windows).
- All files and subfolders will be highlighted. If the folder contains hidden items, they are not included unless you’ve enabled hidden files (see Troubleshooting).
Method 2: Ribbon Button (Windows 11)
- Open the folder.
- Look at the top of the File Explorer window. In Windows 11, there is a command bar with icons like New, Sort, View, and the three-dot menu.
- Click the Select all button (it looks like a square with a checkmark or four small squares) in that command bar. If you don’t see it, click the three-dot (…) menu at the far right and choose Select all from the dropdown.
- All items become selected.
Method 3: Ribbon Menu (Windows 10)
- Open the folder.
- Click the Home tab at the top of File Explorer (it’s on the left side of the ribbon).
- In the “Select” group on the far right, click Select all.
- Everything in the current folder is now selected.
Method 4: Mouse Drag (For Visible Items Only)
- Open the folder and make sure you can see the files you want (scroll if needed).
- Click in an empty area of the folder, hold the left mouse button, and drag a rectangle around all the files.
- Release the mouse button. Only the files inside the rectangle are selected. This method selects only what’s on screen, not items further down the list.
Common Mistakes
- Clicking a file first – If you click a file and then press Ctrl+A, you still select all. That’s fine. The mistake is clicking outside the folder window (like on the desktop) before pressing Ctrl+A – then you’ll select desktop icons instead.
- Using Ctrl+A in the wrong pane – In File Explorer, if the navigation pane (left sidebar) has focus, Ctrl+A might select items there. Click in the main content area first.
- Forgetting hidden files – Ctrl+A does not select hidden files unless you have “Hidden items” checked under View. Many users think they’ve selected “everything” but miss hidden system files.
- Dragging over folders – When dragging a selection rectangle, if you start on a file rather than empty space, you’ll move that file instead of selecting. Start on blank space.
- Assuming subfolders are included – Selecting all in a folder selects the subfolders themselves, not their contents. To select everything inside subfolders, you need to open each one or use a search-based method.
Tips
- Select all, then deselect a few – After pressing Ctrl+A, hold Ctrl and click any file you want to remove from the selection. This is handy when you need “all except these.”
- Use the “Invert selection” trick – If you want to select all except a few, select the ones you don’t want first, then on the Home tab (Windows 10) or the three-dot menu (Windows 11) choose Invert selection. This flips the selection to everything else.
- Select all in a search result – If you type in the search box at the top-right of File Explorer, then press Ctrl+A, it selects all matching files across the current folder and its subfolders (depending on your search settings). This is a powerful way to grab files scattered in subfolders.
- Keyboard shortcut works in dialog boxes too – When you’re in an “Open” or “Save As” dialog (like attaching a file to an email), Ctrl+A also selects all files in that dialog’s folder view.
- Check the status bar – At the bottom of File Explorer, Windows shows “X items selected” and the total size. Use this to confirm your selection before deleting or moving.
Troubleshooting
- Ctrl+A doesn’t select anything – Click once on the white space in the folder (not on a file) to give the folder window focus, then try again. If you’re in a search box, Ctrl+A selects the text in the search box, not the files. Press Esc to exit the search box, then click the folder area.
- Only some files are selected – This happens if you’re in a filtered view (like a search result or a “Recent files” view). Press Ctrl+A selects only what’s currently listed. To select all files in the actual folder, clear the search box or navigate to the folder’s root.
- Hidden files are not selected – Go to the View tab (Windows 10) or the View menu (Windows 11, three-dot icon), then check Hidden items. After that, press Ctrl+A again.
- Select all button is grayed out – This usually means the folder is empty, or you’re in a special view like “This PC” where the button doesn’t apply. Navigate into an actual folder (e.g., C:\Users\YourName\Documents).
- Selection disappears when you right-click – If you right-click on a selected file, the selection may be lost if you right-click on an unselected file. Always right-click on one of the highlighted files to keep the selection active.
Frequently Asked Questions
Does Ctrl+A select files in subfolders too?
No. It selects all items directly inside the current folder, including subfolders, but not the contents of those subfolders. To select files in subfolders, use the search box (type “*” to show all) and then press Ctrl+A, or open each subfolder and repeat.
How do I select all files of a certain type (e.g., all .jpg)?
Use the search box in the top-right of File Explorer, type *.jpg (or whatever extension), press Enter, then press Ctrl+A. This selects all matching files in the current folder and its subfolders (depending on your search options).
Why does Ctrl+A select text instead of files?
Because the focus is on a text box (like the address bar or search box). Click once on the folder’s file area to move focus to the file list, then press Ctrl+A again.
Can I select all files using the command prompt?
Yes, but it’s not a visual selection. In Command Prompt, navigate to the folder and use copy *.* destination to copy all files, or del *.* to delete all (use with extreme caution). For a visual selection, stick with File Explorer.
How do I select all files on a laptop without a mouse?
Use the keyboard: press Ctrl+A. To select a range, click the first file, hold Shift, and press arrow keys to extend the selection. To select non-adjacent files, hold Ctrl and press arrow keys, then press Spacebar to toggle each file.
Does selecting all files include system files?
It includes everything that is visible. System files like desktop.ini are hidden by default, so they won’t be selected unless you enable “Hidden items” under the View tab. Be careful when deleting or moving system files.
Related
- How to Update a Dictionary in Python
- Federal Bank Balance Sheet: Key Figures Explained
- Power Automate String to HTML: How to Convert & Format
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- Footnotes in Word: How to Add Them on One Page OnlyTo add footnotes on just one page in Word, put that page in its own section with section…
- Excel Row and Column AutoFit: Steps, Limits, and FixesTo auto-adjust Excel row or column size, select the relevant rows or columns, then choose Home > Cells…
- Excel Power Query: Merge All Files in a FolderTo merge files from a folder in Excel for Microsoft 365 on Windows, select Data > Get Data…
- Out of Office in Outlook on iPad: Set Automatic RepliesTo set an out-of-office reply in Outlook on an iPad, open Outlook’s settings, select the email account, tap…
- Where to Make a Brochure in Microsoft Word: StepsTo make a brochure in Microsoft Word, open File > New and search for “brochure” to start with…
- Share an Excel Document on Google Docs: Step by StepTo share an Excel document through Google’s tools, upload the .xlsx file to Google Drive, select it, choose…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.