网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

如何在快捷方式右键添加“打开文件所在目录”?

时间:2026-02-15 15:45:25

1、修改注册表:

        打开记事本,输入以下代码,然后保存于 任意目录(如桌面)良级,文件名为睡泪:openfilelocation.reg

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\lnkfile\shell\打开文件所在目录\command]

@="cmd /c mode con cols=14 lines=1 & type \"%0\" | find /i \":\\\" | findstr /i \"^[a-z]\">\"%%temp%%\\~~AutoOpenDir.txt\" & for /f  %%a in (%%temp%%\\~~AutoOpenDir.txt) do start %%~dpa & del \"%%temp%%\\~~AutoOpenDir.txt\""

双击运行,导入到注册表,然后您可以把这个reg文件删掉。

2、效果:沫婶蹲

如何在快捷方式右键添加“打开文件所在目录”?

© 2026 智德知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com