How to create an excellent check recursively in clearcase in the context menu

I am trying to create an excellent check recursively ..., a context menu with arguments (I use clearmenuadmin.exe )

 /c cleartool lsco -r -cvi -fmt "unco -rm %n\n"$dir|cleartool 

but its not working .. any idea on how to do this ..

+2
clearcase
source share
1 answer

Note: put a space between %n\n" and $dir .

In this case, the -fmt part -fmt not provide execution, even sent via the cleartool channel

maybe

 /c cleartool lsco -r -cvi -fmt "cleartool unco -rm %n\n"$dir|cmd 

will work, but I doubt it: the problem is visible when considering the entire command that was run during configuration using clearmenuadmin.exe :

 cmd /c cleartool lsco -r -cvi -fmt "cleartool unco -rm %n\n"$dir|cmd 

|cmd or |ct apply to the first cmd, not to the cleartool command.

I would prefer to use an external script (to wrap the unco )

 /c myUnco.cmd $dir 

with myUnco.cmd stored in the directory referenced by your environment variable% PATH%, s;

 cleartool lsco -r -cvi -fmt "cleartool unco -rm %n\n" %1|cleartool 

Here (in the .cmd script) %1 , the $dir character is displayed, passing through the sharpen context menu.

+3
source share

All Articles