Keyboard Shortcut to Open File Explorer: Windows & Mac

Learn the fastest ways to open File Explorer on Windows and macOS using keyboard shortcuts, plus how to set up custom global shortcuts for instant access.

Shortcuts Lib
Shortcuts Lib Team
·5 min read
Quick AnswerSteps

The quickest way to open File Explorer is to use platform-native shortcuts. On Windows, press Win+E to launch File Explorer instantly. On macOS, open a Finder window with Cmd+N when Finder is active. For a universal solution, you can create a custom global shortcut with AutoHotkey on Windows or Automator/Shortcuts on macOS. Shortcuts Lib confirms these approaches are reliable for rapid file access.

Overview: Why a keyboard shortcut to open File Explorer matters

In daily computer work, quickly opening the file navigator saves time and reduces context switching. A reliable keyboard shortcut to open File Explorer helps you stay in flow, especially when coding, organizing projects, or testing file paths. According to Shortcuts Lib, mastering core OS shortcuts dramatically speeds up routine navigation. This section lays the groundwork across Windows and macOS and introduces practical, reusable patterns.

CMD
:: Windows CMD explorer .
Bash
# macOS Terminal open -a Finder .
Bash
# Linux Terminal xdg-open .
  • Quick notes:
    • On Windows, Win+E is the default opener.
    • On macOS, Finder is the default; Cmd+N opens a new window.
    • For cross-platform scripts, wrap these commands in a single script to test a path quickly.

Windows: The canonical shortcut to open File Explorer (Win+E) and quick navigation

The standard Windows shortcut to open File Explorer is Win+E; this opens Explorer to Quick Access or the default directory. You can immediately start typing a path in the address bar to jump to a folder. If you want to open Explorer from a script, you can pass a path argument to explore.exe.

PowerShell
# PowerShell: open a specific folder in Explorer Start-Process "explorer.exe" -ArgumentList "C:\Users\Public"
CMD
:: Windows CMD explorer "C:\Users\Public"
BAT
:: Batch script start "" "C:\Users\Public"

Tips:

  • If Explorer is running in the background, the command above will bring focus to it.
  • You can replace the path with any folder you work with frequently.

macOS: Finder shortcuts and window management

macOS uses Finder as the file navigator. The primary shortcut to open a new Finder window is Cmd+N when Finder has focus. You can also test path navigation via Terminal with Finder integration. Spotlight (Cmd+Space) can speed up locating Finder or a target folder before switching to Finder.

Bash
# macOS Terminal: open a specific folder in Finder open -a Finder ~/Documents
APPLESCRIPT
-- AppleScript: activate Finder tell application "Finder" to activate
Bash
# Open Finder to a path using a shell command osascript -e 'tell application "Finder" to activate' -e 'tell application "System Events" to keystroke "n" using {command down}'

Notes:

  • Cmd+N opens a new Finder window when Finder is active.
  • AppleScript or Automator workflows can script Finder behavior for common paths.

Custom global shortcuts: Windows (AutoHotkey) and Mac (Automator/Shortcuts)

If you want a universal or more convenient shortcut, you can bind a single key combo to open File Explorer (Windows) or Finder (macOS). On Windows, AutoHotkey lets you map a global hotkey to explorer.exe. On macOS, Automator or the Shortcuts app can create a Quick Action that opens Finder in a chosen directory.

AHK
; AutoHotkey: Global shortcut to open Explorer ^!e::Run explorer.exe
APPLESCRIPT
-- Automator/Shortcuts: AppleScript to activate Finder (used in a Quick Action) tell application "Finder" to activate

Implementation tips:

  • Choose a hotkey that does not conflict with existing OS shortcuts.
  • Test in a safe directory first to confirm the focus behavior.
  • For macOS, create a Quick Action in Automator and bind it to a global shortcut in System Settings.

Testing and validation: verifying shortcuts work reliably

Validation ensures the shortcut reliably opens the intended file navigator across reboots and user environments. On Windows, verify Win+E opens Explorer and navigates to the requested path. On macOS, confirm Cmd+N opens Finder, and that any custom Automator shortcut activates Finder as expected.

PowerShell
# Windows: verify Explorer launcher is active Get-Process explorer -ErrorAction SilentlyContinue
Bash
# macOS: verify Finder launch via AppleScript ps aux | grep -i Finder | grep -v grep

Automated tests can be added by a small script that attempts to open a folder and checks the resulting process window title or path.

Use cases: combining open with a targeted path in scripts

Using a targeted path with a keyboard shortcut improves developer workflows: open a project folder directly, open a logs directory for quick inspection, or jump to a workspace cache. Windows and macOS provide straightforward methods to pass a path to the launcher.

PowerShell
# Windows: open a specific path with PowerShell Start-Process "explorer.exe" -ArgumentList "C:\Projects\ShortcutTest"
Bash
# macOS: open a specific path with Terminal open -a Finder "$HOME/Projects/ShortcutTest"

This pattern scales to batches of folders you use often. You can also wrap these commands in script files or AutoHotkey/Automator actions for one-command access from anywhere in the OS.

Troubleshooting and best practices

If a shortcut stops working, check app focus, verify that the shortcut is not overridden by another application, and ensure the helper script (AutoHotkey/Automator) is running. Keep your paths valid and test in a new user profile if necessary to rule out profile-specific conflicts.

PowerShell
# Windows: ensure a background AutoHotkey script is running (if using AHK) Get-Process AutoHotkey -ErrorAction SilentlyContinue
Bash
# macOS: ensure Automator/Shortcuts has permission to run osascript -e 'tell app "System Events" to display dialog "Shortcut test complete"'

Best practices:

  • Start with built-in OS shortcuts before adding custom bindings.
  • Document your chosen keys to avoid conflicts.
  • Periodically re-test after system updates or app installations.

Key takeaways and practical commands

  • Windows default: Win+E opens File Explorer quickly; you can also open a folder with explorer "path" from command line.
  • macOS default: Finder is opened via Cmd+N when Finder is active; open a specific folder with Terminal using open -a Finder and a path.
  • For power users, AutoHotkey on Windows and Automator/Shortcuts on macOS let you create global shortcuts for instant access.
  • Cross-platform scripts can streamline common folders, reducing mouse dependence and boosting productivity.

FAQ: common questions about keyboard shortcuts to open File Explorer

  1. Question: What is the default keyboard shortcut to open File Explorer on Windows? QuestionShort: Default Windows shortcut Answer: The default is Win+E, which launches File Explorer instantly. On macOS, Finder shortcuts apply when Finder has focus. VoiceAnswer: Use Win+E on Windows to open Explorer. On Mac, Finder shortcuts apply when Finder is active. Priority: high

  2. Question: How do I open a new Finder window on macOS via keyboard? QuestionShort: Mac Finder new window Answer: Press Cmd+N when Finder is the active app to open a new Finder window. You can also use a shortcut to go to a specific folder. VoiceAnswer: Press Cmd+N in Finder to open a new window. Priority: high

  3. Question: Can I create a universal shortcut that works on both Windows and macOS? QuestionShort: Universal shortcut Answer: Yes, but it requires platform-specific tools: AutoHotkey on Windows and Automator/Shortcuts on macOS. Each system handles global bindings differently. VoiceAnswer: Yes, with platform-specific tools for each OS. Priority: medium

  4. Question: What should I check if my shortcut isn't working anymore? QuestionShort: Shortcut not working Answer: Check that the target app (Explorer or Finder) is in focus, ensure any helper scripts are running, and confirm there are no conflicting hotkeys in other apps. VoiceAnswer: Make sure Finder/Explorer has focus and that your shortcut script is running without conflicts. Priority: medium

  5. Question: Is there a way to open a specific folder using a shortcut? QuestionShort: Open specific folder Answer: You can bind a path to an opener script (such as AutoHotkey or a macOS Automator action) to open a fixed folder with a single keystroke. VoiceAnswer: Yes, by binding a path to a script on Windows or macOS. Priority: medium

mainTopicQuery":"keyboard-shortcuts"},

Steps

Estimated time: 45-60 minutes

  1. 1

    Identify OS and defaults

    Confirm your operating system (Windows or macOS) and review the built-in shortcuts (Win+E for Windows; Cmd+N for Finder). This establishes a baseline before you customize further.

    Tip: Document your current defaults so you can fall back if a new shortcut conflicts.
  2. 2

    Test the native shortcuts

    Open File Explorer or Finder using the built-in keys to ensure your environment responds as expected before adding custom bindings.

    Tip: Test in a single folder to avoid confusion.
  3. 3

    Install and configure AutoHotkey (Windows)

    Install AutoHotkey, create a simple script to bind a new global shortcut to explorer.exe, and run the script.

    Tip: Choose a key combo that does not collide with existing shortcuts.
  4. 4

    Create a Finder Quick Action (macOS)

    Use Automator to build a Quick Action that activates Finder; assign a global shortcut in System Settings.

    Tip: Keep the action focused on Finder to avoid denials from other apps.
  5. 5

    Validate cross-platform behavior

    Test the new bindings across reboots and user profiles; fix focus problems and ensure scripts auto-start if desired.

    Tip: Consider a lightweight logs file to confirm activations.
  6. 6

    Document and share

    Write a simple reference note for your team with the exact shortcuts and setup steps so others can adopt quickly.

    Tip: Keep a changelog for future updates.
Pro Tip: Always test new shortcuts in a safe directory to avoid accidental path errors.
Warning: Avoid overriding system shortcuts; focus on non-conflicting key combinations.
Note: On macOS, Finder must have focus for Cmd+N to reliably open a new window.

Keyboard Shortcuts

ActionShortcut
Open File Explorer (Windows)Windows Explorer activeWin+E

Questions & Answers

What is the default keyboard shortcut to open File Explorer on Windows?

Win+E opens File Explorer. On macOS, Finder shortcuts apply when Finder has focus.

Use Win+E on Windows to open Explorer. On Mac, Finder shortcuts apply when Finder is active.

How do I open a new Finder window on macOS via keyboard?

Cmd+N opens a new Finder window when Finder is the active app.

Press Cmd+N in Finder to open a new window.

Can I create a universal shortcut that works on both Windows and macOS?

Yes, but it requires platform-specific tools: AutoHotkey on Windows and Automator/Shortcuts on macOS.

Yes, with platform-specific tools for each OS.

What should I check if the shortcut isn’t working?

Ensure the target app has focus, verify any helper scripts are running, and check for conflicting keys in other apps.

Make sure Finder or Explorer is focused and the shortcut script is running without conflicts.

Is there a way to open a specific folder using a shortcut?

Yes. Bind a path to a script (AutoHotkey on Windows or Automator on Mac) to open a fixed folder with a keystroke.

Yes, by binding a path to a script on Windows or Mac.

Main Points

  • Open File Explorer quickly with Win+E (Windows) or Cmd+N (macOS Finder).
  • Use AutoHotkey on Windows and Automator/Shortcuts on Mac to create global shortcuts.
  • Test, document, and avoid conflicts for reliable productivity gains.
  • Cross-platform scripts can streamline common folders and paths.

Related Articles