Everything指定用XYplorer打开目录路径

Windows自带的资源管理器explorer.exe,是极其鸡肋的。所以我们使用Everything,以及其它的文件管理器,提高生产力。但是explorer.exe无处不在,即使你修改了系统注册表,或在自己的第三方文件管理器选项中替换了系统默认,有时候它还是不听使唤跳出来,令人恼火,简直反人类。

本文针对Everything,彻底修改其选项。

准备工作:

首先安装好要替换的目标文件管理器,复制其绝对路径和文件名。

在我的机器中,我用的是XYplorer.exe,因为路径中有空格,必须包含引号,它的路径是:

"E:\XYplorer\XYplorer.exe"

如果使用其它,例如Xplorer2、Total Commander、Explorer++,等等,以此类推。

观察

打开Everything,选择菜单-工具-选项-上下文菜单,如下图:

 分析

程序内置的命令有7个,对应命令分别为:

1、打开(文件夹)

$exec("%1")

2、打开(文件)

$exec("%1")

3、打开路径

$exec("%SystemRoot%\explorer.exe" /select,"%1")

4、浏览(被隐藏的选项,可关闭隐藏,可自定义命令)

$exec("%SystemRoot%\explorer.exe" /n,/e,"%1")

5、浏览路径(被隐藏的选项,可关闭隐藏,可自定义命令)

$exec("%SystemRoot%\explorer.exe" /n,/e,/select,"%1")

6、复制路径(被隐藏的选项,可关闭隐藏)(无法自定义命令)

7、复制完整的路径和文件名(无法自定义命令)

扩展了解:

命令使用了这些命令行参数:/n, /e, /select。这些参数适用于explorer.exe,含义分别是:

/n 为默认选择内容打开一个新的单窗格窗口。

/e 使用默认视图启动文件资源管理器。

/select,<object> 打开一个窗口视图,指定的文件夹、文件或程序被选中。

但是这些参数并不适用于我们指定的外部管理器XYexplorer.exe,必须删除。

Everything提供了以下几个参数,可满足使用。

$parent(文件名)         返回指定文件(或者文件夹)的父文件夹

$pathpatrt(文件名)    返回指定文件(或者文件夹)的父文件夹

$namepart(文件名)   返回指定文件(或者文件夹)的名称

%1=指定的文件名

我们要做什么:

对于命令1,打开(文件夹)

$exec("%1")

改为:

$exec("E:\XYplorer\XYplorer.exe" "%1")

参数说明: %1 指定的文件名

把XYxplorer.exe的绝对路径直接写进去,注意用空格隔开。更改如是:


对于命令2,打开(文件)

$exec("%1")

不改仍为:

$exec("%1")

对于命令3,打开路径

$exec("%SystemRoot%\explorer.exe" /select,"%1")

改为:

$exec("E:\XYplorer\XYplorer.exe" /select="%1")

————————————————————————————————

对于命令4、5、6,首先我们把隐藏选项打开,才能在右键菜单中看见。
至于为什么被隐藏,因为它的功能是重复的,解释如下。

————————————————————————————————

命令4:

【4浏览】=【1打开文件夹】, 完全相同的重复命令,所以命令4被默认隐藏。

含义:打开【当前文件夹】,即打开它本身。

此命令仅对文件夹有效。对于文件,不存在浏览,所以无效,根本不出现。

命令5:

【5浏览路径】=【3打开路径】。完全相同的重复命令,所以命令5被默认隐藏。

含义:打开其【父文件夹】,即打开它的上一级。

此命令对文件、文件夹,均有效。因为他们肯定都有父文件夹。

    我的建议:命令4、5可以保持隐藏,打开6就行了。反正是重复的,菜单多了眼花,还费脑子。
————————————————
如果非要改的话如下:

命令4、浏览

$exec("%SystemRoot%\explorer.exe" /n,/e,"%1")

改为:

$exec("E:\XYplorer\XYplorer.exe" "%1")

命令5、浏览路径

$exec("%SystemRoot%\explorer.exe" /n,/e,/select,"%1")

改为:

$exec("E:\XYplorer\XYplorer.exe" /select="%1")

————————————————————————————————

对于命令6、7,因为无法自定义,也不需要自定义(所以上文我用了删除线)。

OK,大功告成。Windows自带的Explorer.exe再也不会跑出来了。

————————————————————————————————


参考链接:https://blog.csdn.net/VimGuy/article/details/104004289

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
XYplorer 20 是一款类似于“资源管理器”的 Windows 文件系统管理工具。具有强大的文件搜索、通用预览及可高度自定义的界面等特点,以及一系列用于自动进行周期性任务的独特功能。 文件资源管理器 XYplorer 中文多语特别版文件资源管理器 XYplorer 中文多语特别版 资源管理器在 Windows 操作系统中的那个古老而鸡肋的东东,在速度上及操作上真的不敢恭维,出错罢工是常有的事,更不要谈高效二字,所以使得无数的电脑用户使用其他更强大的文件管理器来代替资源管理器,说到文件管理器,其实有很多,例如:非常出名的TC(Total Commander),支持多标签的 Explorer++ 以及 BF Commander Free、Xplorer、Q-Dir、Clover 等等,至于那一个是最好的还真不好说,俗话说萝卜青菜各有所爱,有些同学喜欢大而全,有些同学却爱好术有专攻,在前面软件盒子也分享过很多,今天再补充分享一款文件管理软件XYplorer,该款文件管理器同样是类似于资源管理器(www.dayanzai.me),支持多标签,具有强大的搜索、预览以及一系列用于自动进行周期性任务的独特功能。 XYplorer 中文便携版功能介绍: XYplorer 是一个工具而非玩具,名副其实,绝对是高级用户和电脑高手苦苦寻找的浏览器替代品。XYplorer 是一款精品资源管理器,XYplorer 通过双面板、多标签模式来高效地浏览文件,每个面板都能开启多个文件夹标签,更方便的完成浏览、查看、复制、删除等操作。(www.dayanzai.me)此外,标签/颜色过滤、高度可自定义的快捷键/工具栏、内置文件关联系统、高速文件搜索引擎、强大的预览,实现即时预览图像,音频和视频等各类文件(显示信息的详细媒体)等等功能,可以说XYplorer是一款功能非常强大的文件管理器。 注册步骤:选择Help菜单下的解锁试用版本选项来输入注册码即可。 如果软件有访问网络的请求,请用防火墙将它拦截,不让软件访问网络验证注册码,另外最好关闭软件的自动更新功能。
Program XYplorer File manager for Windows 10, Server 2016, 8.1, 8, Server 2012, 7, Server 2008, Vista, XP, Server 2003; 32-bit and 64-bit versions Version 19.90.0100 Release 2019-Apr-13 License Proprietary Author Donald Lessau Contact support@xyplorer.com Website https://www.xyplorer.com Download https://www.xyplorer.com/download/xyplorer_full.zip Purchase https://www.xyplorer.com/purchase.php Manual https://www.xyplorer.com/download/XYplorerHelp.pdf History https://www.xyplorer.com/download/History.txt Copyright (c) 1997-2019 Cologne Code Company. All Rights Reserved. =========================================================================== XYplorer -------- XYplorer is a file manager for Windows. It features tabbed browsing, a powerful file search, a versatile preview, a highly customizable interface, optional dual pane, and a large array of unique ways to efficiently automate frequently recurring tasks. It抯 fast, light, and portable. Installation ------------ XYplorer is portable. It doesn't require any "installation" in the proper sense, and using it does not change your system or registry. You can run it directly from your USB drive, and you can have as many parallel "installations" as you wish. Choose one of the following packages: (1) Installer Package (2) No-Install Package Note: No matter which package you use, Install or No-Install, running XYplorer does not change your system or registry at any time. Installation using the Installer Package ---------------------------------------- Use this package to use an installer to install XYplorer, with icons in the start menu and an uninstaller. Extract xyplorer_full.zip to some temporary directory and run the included XYplorer_?.??_Install.exe. The following files are installed to the directory you selected/created during the install procedure: XYplorer.exe ......... Application XYcopy.exe ........... Copy Handler ContextMenu64.exe .... Context Menu Handler XYplorer.chm ......... Help Startup.ini .......... Sets the Application Data Path XYplorer Homepage.url Link to www.xyplorer.com LicenseXY.txt ........ XYplorer License Agreement ReadmeXY.txt ......... Readme (this file) CatalogDefault.dat ... Sample Catalog File Uninstall.exe ........ Uninstaller Optionally a program group "XYplorer" is created under "Programs" in your Start menu, containing four icons. You have a choice here: * Install for anyone using this computer (Default) > The program group is created for all users. * Install just for me > The program group is created just for you. The file Startup.ini contains information about the Application Data Path. By default this path is set to %appdata%\XYplorer which on a typical system (with English locale) is resolved to C:\Documents and Settings\<user>\Application Data\XYplorer. The total size of all installed files will be about 7 MB. No further files are added anywhere to your system, and nothing will be put into the registry but uninstall information. To uninstall the program click the "Uninstall" icon in the program group created during installation. How to Upgrade: Install over the current directory of XYplorer. Your INI file will not be overwritten, so your settings and personal license key remain intact. Installation using the No-Install Package ----------------------------------------- Use this package to install XYplorer on a removable drive (e.g. USB), or in any folder on any drive you like. All application data will be stored under the application path. Simply extract xyplorer_full_noinstall.zip anywhere. Finally ------- Read, understand, and accept LicenseXY.txt, the XYplorer License Agreement. Start working. Dependencies ------------ * VB6 Runtime Files xyplorer_full.zip does NOT contain the VB6 runtime files needed to run XYplorer. This is to keep download times short, and because they are present on almost every computer. If you are not sure whether you got those files, it's easy to find out: If you can start XYplorer.exe you got them, if not you have to get them. ONLY IF THE PROGRAM DOES NOT START: The VB6 runtime files needed can be found at this URL: http://www.microsoft.com/downloads/en/details.aspx?FamilyId=7B9BA261-7A9C-43E7-9117-F673077FFB3C&displaylang=en Download the self-extracting file that installs the latest versions of the Microsoft Visual Basic runtime files that all applications created with Visual Basic 6.0 need in order to run. License Information ------------------- LICENSE GRANT. This Software (XYplorer) is not freeware. You may evaluate the unregistered trial version for free for a maximum period of 30 days. If you wish to continue using it after 30 days, you have to register and purchase a license. Unregistered use of this Software after the 30-day evaluation period is in violation of international copyright laws. See also LicenseXY.txt. The unregistered trial version is fully functional with only minor limitations. See web site for details. Distribution ------------ The unregistered version may be freely distributed in unmodified form. Reporting Problems ------------------ If you encounter problems, please visit https://www.xyplorer.com and download the latest version to see if the issue has been resolved. If not, please post a bug report in the user forum: https://www.xyplorer.com/xyfc/index.php Only as a last resort, send us a bug report by email: E-mail: support@xyplorer.com Feel free to contact us to get support, report bugs or give suggestions. Again, primarily via the user forum, please. And don't forget to check the web site for news and product updates. Terms of Use ------------ This software is provided "as is", without any guarantee made as to its suitability or fitness for any particular use. It may contain bugs, so use of this tool is at your own risk. We take no responsibility for any damage that may unintentionally be caused through its use.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值