(以递归方式)向上下文菜单添加Checkout无效 [英] Adding Checkout (recursively) to context menu not working

查看:69
本文介绍了(以递归方式)向上下文菜单添加Checkout无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在这样做.....但是我无法成功...
对于递归签出选项,请执行以下操作:

I'm doing like this ..... but i'm not able succeed... For the check out recursively option, do the following:


  1. 启动clearmenuadmin.exe实用程序(为此,请单击开始>运行,然后键入clearmenuadmin.exe)

  2. 在对象类型选项卡中,选择目录对象。选择已签入作为对象状态

  3. 在可用菜单的选择窗格中单击新按钮,然后在相应的字段中输入以下信息:


    • 菜单文本:(递归地)签出...

    • 帮助文本:以递归方式签出所选项...

    • 命令类型:可执行文件/代理

    • 命令:

      软件\Atria\ClearCase\CurrentVersion\ContextMenusMenuCmdLineExe

    • 初始目录:

      参数:/ c cleartool查找$ file -exec cmd / c cleartool checkout -nc \%CLEARCASE_PN%\

    • 注释:

  1. Start the clearmenuadmin.exe utility (to do this, click Start > Run, and type clearmenuadmin.exe)
  2. In the Object type tab, select the directory object. Choose checked-in as the Object state
  3. Click the new button in the Available menu Choices pane, and then enter the following information in the appropriate fields:
    • Menu Text: Checkout (recursively)...
    • Help Text: Check out the selected item recursively...
    • Command Type: Executable/Regentry
    • Command:
      Software\Atria\ClearCase\CurrentVersion\ContextMenus\CmdLineExe
    • Initial Directory:
      Arguments: /c cleartool find $file -exec "cmd /c cleartool checkout -nc \"%CLEARCASE_PN%\""
    • Comment:

完成后,您可以添加通过按添加按钮将此新菜单项添加到此菜单内容窗格。使用上移按钮将其定位。完成此自定义后,选择配置>应用以应用更改。然后,您可以在Windows资源管理器中对其进行测试。

When this is done, you can add this new menu entry to the This menu contents pane by pressing the Add button. Position it as desired with the Move up button. After completing this customization, choose Configuration>Apply to apply the changes. Then you can test it in Windows Explorer.

推荐答案

这是所谓的十个最佳脚本

但是我们需要知道您什么时候会得到什么样的努力进行测试。

This is one of the so-called ten best scripts
But we need to know what kind or effort you get when testing it.

例如,在此线程


我的测试失败。我收到以下错误消息:

my test is unsuccessful. I get the following error message:



"Failed to load executable name from registry key 'Softwar\Atria\ClearCase\CurrentVersion\ContextMenus\CmdLineExe', The system cannot find the file specified.
""

可以解决以下问题:


好消息是,我将菜单项属性修改为:

Great news, I modified the Menu Item Properties to:



Menu Text: Checkout (recursively)...
Help Text: Check out the selected item recursively...
Command Type: Executable
Command: cmd
Initial Directory:
Arguments: /c cleartool find $file -exec "cmd /c cleartool checkout -nc \"%CLEARCASE_PN%\""
Comment:




而且,现在我的签出(递归)和签入(递归)上下文菜单项都可以工作-谢谢!

And, now both my Check Out (recursively) and Check In (recursively) Context Menu items work - Thank you!

这篇关于(以递归方式)向上下文菜单添加Checkout无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆