【windows拓展】快速拷贝文件或文件夹路径到粘贴板

发布时间:2026/5/31 18:35:11

【windows拓展】快速拷贝文件或文件夹路径到粘贴板 网盘下载.reg文件百度网盘为您提供文件的网络备份、同步和分享服务。空间大、速度快、安全稳固支持教育网加速支持手机端。注册使用百度网盘即可享受免费存储空间https://pan.baidu.com/s/1xAjSS2RGJKbNLL8P5XKpow?pwd55661、新建一个文本文件后缀改为.reg输入以下内容Windows Registry Editor Version 5.00 ; 针对所有文件 [HKEY_CLASSES_ROOT\*\shell\copyfilepath] MUIVerb拷贝路径 (Z) Iconimageres.dll,-5302 [HKEY_CLASSES_ROOT\*\shell\copyfilepath\command] powershell -WindowStyle Hidden -Command \Set-Clipboard -Value %1\ ; 针对普通文件夹 [HKEY_CLASSES_ROOT\Directory\shell\copyfilepath] MUIVerb拷贝路径 (Z) Iconimageres.dll,-5302 [HKEY_CLASSES_ROOT\Directory\shell\copyfilepath\command] powershell -WindowStyle Hidden -Command \Set-Clipboard -Value %1\ ; 针对文件夹背景在文件夹空白处右键 [HKEY_CLASSES_ROOT\Directory\Background\shell\copyfilepath] MUIVerb拷贝路径 (Z) Iconimageres.dll,-5302 [HKEY_CLASSES_ROOT\Directory\Background\shell\copyfilepath\command] powershell -WindowStyle Hidden -Command \Set-Clipboard -Value %V\2、双击执行.reg文件3、然后你会发现你右键一个文件或文件夹就能发现对应选项。4、当你右键一个文件或文件后迅速按键盘的Z键就能拷贝其目录到粘贴板了。删除右键 “拷贝路径 (Z)” 的.reg文件Windows Registry Editor Version 5.00 ; 删除针对所有文件的右键菜单 [-HKEY_CLASSES_ROOT\*\shell\copyfilepath] ; 删除针对普通文件夹的右键菜单 [-HKEY_CLASSES_ROOT\Directory\shell\copyfilepath] ; 删除针对文件夹背景的右键菜单 [-HKEY_CLASSES_ROOT\Directory\Background\shell\copyfilepath]

相关新闻