简体   繁体   English

对于 Windows 10 中的选定文件,如何在 Windows Explorer 中将 Beyond Compare (BC4) 配置为“打开方式...父文件夹”?

[英]How do I configure Beyond Compare (BC4) to "Open with... Parent Folder" in Windows Explorer for a selected file in Windows 10?

How to Configure BC4 to "Open with... Parent Folder" in Windows Explorer for the selected file(s) in Windows 10如何在 Windows 资源管理器中为 Windows 10 中的选定文件将 BC4 配置为“打开方式...父文件夹”

I use Beyond Compare (v4) many times per day, because it offers features that Windows Explorer or Finder do not for sizing folder contents, synchronizing file systems, etc. I frequently need to open the containing (parent) FOLDER for the selected file(s) displayed in BC4 Folder Compare.我每天多次使用 Beyond Compare (v4),因为它提供了 Windows Explorer 或 Finder 不用于调整文件夹内容、同步文件系统等的功能。我经常需要打开所选文件的包含(父)文件夹( s) 显示在 BC4 文件夹比较中。

Presently, I navigate to the folder containing the file for which I want to open parent folder, but then I must navigate upward and right click and say "Open with..." and select "Associated Application".目前,我导航到包含要为其打开父文件夹的文件的文件夹,但随后我必须向上导航并右键单击并说“打开方式...”和 select“关联应用程序”。 These are extra time consuming steps, because I may do this several times per day.这些是额外耗时的步骤,因为我每天可能会这样做几次。

I want to configure an "Open with..." option to open the file's parent folder (in Windows Explorer), NOT the viewer or editor for the selected file(s).我想配置一个“打开方式...”选项来打开文件的父文件夹(在 Windows Explorer 中),而不是所选文件的查看器或编辑器。

I tried various options, but cannot get it to work.我尝试了各种选项,但无法使其正常工作。 If I set the "Command Line" parameter to Windows Explorer executable (Explorer.exe) by itself, it does not work.如果我将“命令行”参数设置为 Windows Explorer 可执行文件 (Explorer.exe) 本身,它不起作用。

I tried the %P (relative path) and %p (absolute path) with the the or selected, but it did not work.我用 or 选择了 %P (相对路径)和 %p (绝对路径),但是没有用。

QUESTION: How do I configure this mouse right-click option to open the file(s) parent folder, and also assign a keyboard shortcut in Beyond Compare 4?问题:如何配置此鼠标右键单击选项以打开文件父文件夹,并在 Beyond Compare 4 中分配键盘快捷键?

ANSWER: Through trial and error I figured out what the exact syntax and parameter settings are for the fields "Command Line", "Working Folder" and "Accepts Files" and "Accepts Folders" options.解答: 通过反复试验,我弄清楚了“命令行”、“工作文件夹”和“接受文件”和“接受文件夹”选项字段的确切语法和参数设置。

> Description: Folder in Windows File Explorer 
> Shortcut:  Alt-F Command
> line: C:\Windows\explorer.exe %P   <<< enter this without quotes >>>
> Working folder: BLANK Accepts file: CHECKED Accepts folders: CHECKED
> Multiple instances: CHECKED    <<< opens only one Explorer, multiple files can be selected.

The relative path (%P) argument is needed alone (WITHOUT THE FILENAME OR FILE EXTENSION) on the command line to get this to work.在命令行上需要单独的相对路径 (%P) 参数(没有文件名或文件扩展名)才能使其工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Windows 资源管理器中打开文件夹? - How can I open a folder in Windows Explorer? 如何通过 Python 脚本在 Windows 资源管理器中打开文件夹? - How to open a Folder in Windows Explorer by Python script? 如何在android文件浏览器中打开sdcard文件夹? - How do I open sdcard folder in android file explorer? Windows 10 资源管理器文件打开对话框:已编译的可执行文件中的文件名消失 - Windows 10 Explorer file open dialog: filenames disappearing in compiled executable File.Delete 可以导致文件夹在 Windows Explorer 中打开吗? - Can File.Delete cause a folder to open in Windows Explorer? 如何以编程方式在Windows 10资源管理器的导航窗格中创建指向文件夹的链接 - How to create link to folder in navigation pane of Windows 10 explorer programmatically 用于打开Windows资源管理器(或焦点,如果存在)并选择文件的代码 - code to open windows explorer (or focus if exists) with file selected 在Windows资源管理器中打开文件夹,然后选择仅第二次运行的文件 - Open a folder in Windows Explorer and select a file works second time only 如何告诉Windows资源管理器不要在某个文件夹中请求文件详细信息和缩略图? - How to tell Windows Explorer not to request file details and thumbnails in certain folder? 单击按钮时如何打开 windows 资源管理器? - How to open windows explorer when I click a button?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM