Skip to content

misaka12843/FilePathCopier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributors