Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

一个简单实用的脚本,通过快捷键 `Enter` 自动复制当前活动窗口中文件路径到剪贴板,支持文件管理器窗口(如Windows资源管理器)。

License

Notifications You must be signed in to change notification settings

misaka12843/FilePathCopier

Open more actions menu

Repository files navigation

Windows File Copier Scripts

GitHub License

English

中文

Overview

This repository contains three AutoHotkey (AHK) scripts that enhance file copying functionality in Windows File Explorer:

  1. FileNameCopier.ahk: Copies the full file name with extension
  2. FileNameCopier (NoExt).ahk: Copies the file name without extension
  3. FilePathCopier.ahk: Copies the full file path

Prerequisites

Installation

  1. Download and install AutoHotkey from the official website.
  2. Download the desired .ahk script(s) from this repository.
  3. Double-click the script to run it, or place it in your AutoHotkey startup folder.

Usage

FileNameCopier.ahk

  • Open Windows File Explorer
  • Select a file
  • Press the Enter key
  • The full file name (with extension) will be copied to your clipboard
  • A tooltip will briefly appear confirming the copied file name

FileNameCopier (NoExt).ahk

  • Open Windows File Explorer
  • Select a file
  • Press the Enter key
  • The file name (without extension) will be copied to your clipboard
  • A tooltip will briefly appear confirming the copied file name

FilePathCopier.ahk

  • Open Windows File Explorer
  • Select a file
  • Press the Enter key
  • The full file path will be copied to your clipboard
  • A tooltip will briefly appear confirming the copied file path

Customization

You can modify the scripts to:

  • Change the hotkey (currently set to Enter)
  • Adjust tooltip display time
  • Add additional file explorer window class support

Requirements

  • Windows File Explorer (Windows 10/11)
  • AutoHotkey v1.1+

License

MIT License

Contributing

Contributions, issues, and feature requests are welcome!

Support

If you encounter any problems or have suggestions, please open an issue.

About

一个简单实用的脚本,通过快捷键 `Enter` 自动复制当前活动窗口中文件路径到剪贴板,支持文件管理器窗口(如Windows资源管理器)。

Resources

License

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.