Working without a mouse on a laptop is not a death sentence, but an opportunity to master professional file management techniques. Selecting everything in a folder or on your desktop using your keyboard saves time, especially when you need to quickly copy, move, or delete dozens of documents. But how to do this correctly if there is no manipulator at hand?

In this article you will find 7 proven methods selecting files without a mouse on different operating systems - from standard hotkeys to little-known combinations for experienced users. We will analyze the nuances of work in Windows 10/11, macOS And Linux, and also tell you how to avoid common mistakes when making group selections. If you often work with a large number of files or just want to become more productive, this guide is for you.

1. Standard hotkeys for Windows

B Windows Selecting all the files in a folder or on the desktop takes literally a second if you know the right combinations. The main method is to use a key Ctrl + A, but there are also alternatives for specific scenarios.

To put this into practice:

  • 📁 Open a folder with files (for example, Documents or Downloads) using the key Win + E.
  • 🔑 Click Ctrl + A — all files and folders inside will be highlighted in blue.
  • ⚡ To cancel a selection, press any arrow key (, , , ).

This method works in all versions Windows - from XP to Windows 11, as well as in most file managers (including Total Commander And Far Manager). However, there is a caveat: if there are too many files in a folder (for example, 10,000+), the system may freeze for a few seconds when trying to select them all at once.

💡

If Ctrl + A does not work, check if the mode is enabled F2 (renaming) or F3 (search). Click Escto exit these modes.

2. Alternative ways to highlight in Windows

If the standard combination does not work for some reason or you need to select files selectively, use these methods:

Method Key combination Description
Range selection Shift + ↑/↓ Selects files from current to first/last in the list.
Selective selection Ctrl + Space (per file) Allows you to select multiple files one at a time.
Select all visible Alt + D → Ctrl + A Works if the focus is not on the file list (for example, in the address bar).
Invert selection Ctrl + Shift + Space (in Total Commander) Selects all files except those already selected.

For example, to select files 3 to 7 in the list:

  1. Click three times to move to the third file.
  2. Clamp Shift and press 4 more times.
  3. Now files 3 through 7 are highlighted.
📊 Which file manager do you use most often?
  • Windows Explorer
  • Total Commander
  • Far Manager
  • Other
  • I don't know what it is

Important: in Windows 11 When using Large Icons or Huge Icons view, highlight the range (Shift + ↑/↓) may be unstable. Switch to List or Table view for reliable results.

3. Selecting files on macOS without a mouse

On MacBook or iMac With a keyboard, the process of selecting files is slightly different. Windows, but no less convenient. Basic combination - Command + A, but there are other features that not all users know macOS.

Algorithm of actions:

  • 📁 Open Finder (key Command + N for a new window).
  • 🔑 Click Command + A — all files in the current folder will be highlighted.
  • 🔄 To deselect, click Esc or any arrow key.

For selective selection:

  • 🖱️ Hold Command and press the keys / to select individual files.
  • 📋 To highlight a range, click Shift + ↑/↓ (similar to Windows).
Why doesn't Command + A work in some folders?

B macOS combination Command + A may not work if:

1) You are in the "Gallery" or "List with preview" view mode - switch to "List" (Command + 2).

2) The folder contains system files hidden from the user (for example, in /Library).

3) You have the file name editing mode enabled (click Escto exit).

If you are working with Terminal (analogue Command line in Windows), then to select all files in the current directory you can use the command:

ls | pbcopy

This command will copy a list of all files to the clipboard, which is sometimes more convenient than visual selection.

4. Features of allocation in Linux (Ubuntu, Mint, Fedora)

In distributions Linux it all depends on the file manager used. In most cases the same logic works as in Windows, but there are some nuances. Let's consider popular options:

1. Nautilus (GNOME Files) - standard manager for Ubuntu And Fedora:

  • 📁 Selecting all files: Ctrl + A.
  • 🔄 Invert selection: Ctrl + I (does not work in all versions).
  • 📋 Range selection: Shift + ↑/↓.

2. Dolphin (KDE) - manager for Kubuntu And KDE Plasma:

  • 🔑 Select all: Ctrl + A.
  • 🎯 Select by template: Ctrl + F → enter a mask (for example, *.jpg).
  • 🔄 Invert: Ctrl + Shift + A.

3. Thunar (XFCE) — an easy manager for Xubuntu:

  • 📁 Select all: Ctrl + A.
  • 📌 Select files only (no folders): hold Ctrl and click on the files with the mouse (but this is no longer our case).

B Linux can also be used Terminal for working with files. For example, to select (or rather, process) all files with the extension .txt in the current directory, use:

for file in *.txt; do echo "$file"; done

Back up your important data|Check your permissions (ls -l)|Make sure there are no spaces in the file names|Use Tab for name completion -->

5. Working with files on the desktop

Selecting files on the desktop without a mouse has its own characteristics, since there is no traditional list, like in a folder. Here's how to do it on different OSes:

Windows:

  1. Click Win + Dto go to the desktop.
  2. Click Tabuntil the first icon is highlighted.
  3. Use Ctrl + A to select all files.

macOS:

  1. Click F11to show the desktop.
  2. Click Tabto move focus to icons.
  3. Use Command + A.

Linux (GNOME/KDE):

  1. Click Ctrl + Alt + D (or Super + D) to show the desktop.
  2. Click Tab or Alt + Tabto focus on the icons.
  3. Apply Ctrl + A.
💡

On the desktop Windows 11 allocation Ctrl + A may not work if the "Align icons to grid" mode is enabled. Disable it via the context menu (right click → View → Align Icons to Grid).

If there are too many files on the desktop, the system may slow down when trying to select them all. In this case it is recommended:

  • 🗑️ Move some files to folders (use Ctrl + X/Ctrl + V).
  • 🔍 Use search (Win + S in Windows, Command + Space in macOS).
  • 📁 Create a new folder (Ctrl + Shift + N) and move some of the files there.

6. Problems and solutions: why are files not highlighted?

Sometimes standard selection methods don't work. Let's look at typical causes and ways to eliminate them:

⚠️ Attention: If after pressing Ctrl + A nothing happens, check if the mode is enabled Sticky Keys (sticky keys). This mode can block combinations. To turn it off, click Shift five times in a row and select "Disable".
Problem Possible reason Solution
Ctrl + A doesn't work Focus is not on the file list (e.g. the address bar) Click Tab or F6to move focus
Only part of the files is selected There are hidden or system files in the folder Turn on showing hidden files (Alt + H → Change folder options)
Combinations don't work in Total Commander Changed hotkey settings Reset settings: Configuration → Settings → Hotkeys → Reset
Stuck when selecting a large number of files Lack of RAM Split the files into groups or use Command line

If you work in VirtualBox or VMware with a virtual machine, make sure that the keyboard is "captured" by the guest OS. To do this, click Host Key (default - right Ctrl in VirtualBox).

Another common problem is keyboard driver conflict. If the combinations stop working after a system update, try:

  1. Roll back the keyboard driver (Device Manager → Keyboards → Properties → Roll Back).
  2. Run the troubleshooter (Settings → Update & Security → Troubleshoot).

7. Advanced techniques for advanced users

If you've already mastered the basics, try these pro techniques to speed things up:

1.Usage Command line (Windows):

To select (or rather, process) all files in the current directory, open cmd (Win + R → cmd) and enter:

for %f in (*.*) do echo %f

This command will list all files. Replace echo %f to the desired action, for example, del %f to remove (be careful!).

2. Automation using PowerShell:

Script to copy all files with the extension .docx to another folder:

Get-ChildItem -Path "C:\Путь\к\папке" -Filter *.docx | Copy-Item -Destination "C:\Новая\папка"

3. Hotkeys in Far Manager:

  • 📁 Select all: Shift + * (star on numeric keypad).
  • 🔄 Invert selection: Shift + !.
  • 📋 Select by mask: Alt + A → enter a mask (for example, *.pdf).

4. Macros Total Commander:

You can record a sequence of actions to select files based on specified criteria. For example, a macro to select all files older than 30 days:

  1. Open Macros → Record Macro.
  2. Follow these steps: Selection → By date → Older than 30 days.
  3. Save the macro and assign a hotkey to it.
💡

To bulk rename selected files to Windows use combination F2 after selection. Enter a new name - all files will be renamed adding a serial number (for example, Document (1).txt, Document (2).txt).

FAQ: Frequently asked questions about selecting files without a mouse

Is it possible to select files in two different folders at the same time without using the mouse?

No, using standard means Windows/macOS/Linux this is impossible. However you can:

  1. Open two folders in separate windows (Ctrl + N in Windows).
  2. Select files in the first folder (Ctrl + A), copy them (Ctrl + C).
  3. Go to the second folder and paste (Ctrl + V).

For advanced users: in Total Commander you can use the Quick View panel (Ctrl + Q) to work with multiple folders.

Why after pressing Ctrl + A Are not all files selected?

This happens if:

  • The folder contains files to which you do not have access rights (for example, system files).
  • The address bar filter is enabled (for example, you are looking for *.docx, but forgot to reset the filter).
  • The files are located on a network drive that is temporarily unavailable.

Solution: check access rights, reset filters (F3 → clear the search bar) or refresh the contents of the folder (F5).

How to select all files except one?

Methods depending on OS:

  • Windows: Select all files (Ctrl + A), then hold Ctrl and click on the unwanted file (mouse required). Without mouse: use Shift + ↑/↓ to highlight a range, excluding the unnecessary file.
  • macOS: Likewise Windows, but with Command instead of Ctrl.
  • Linux (Dolphin): Click Ctrl + I to invert the selection (if you need to exclude the majority of files).

B Total Commander You can use the "Invert Selection" command (Ctrl + Shift + Space).

Is there a difference between Ctrl + A and selecting through the menu "Edit → Select All"?

No, these are equivalent actions. Both commands send a signal to the file manager to select all objects in the current directory. However:

  • Hotkeys work faster (no need to open the menu).
  • In some programs (for example, Far Manager) the "Select All" menu may have additional options (for example, selecting only files or only folders).
Is it possible to customize your own hotkeys for highlighting files?

Yes, in most file managers:

  • Windows (Explorer): No built-in feature, but can be used AutoHotkey to create custom combinations.
  • Total Commander: Configuration → Settings → Hotkeys.
  • macOS (Finder): Via System Preferences → Keyboard → Keyboard Shortcuts → Application Keyboard Shortcuts.
  • Linux (Dolphin): Settings → Configure Dolphin → Hotkeys.

Example script for AutoHotkey, which selects all files by Win + A:

#a::

Send ^a

return