I’m trying to create undo checkout recursively…, context menu with arguments (I’m using 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..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Note: do put a space between the
%n\n"and$dir.In this case, the
-fmtpart will not ensure the execution, even piped to cleartoolPerhaps
would work, but I doubt it: the problem is visible when considering all the command launched when configure with the
clearmenuadmin.exe:The
|cmdor|ctwould apply to the first cmd, not to the cleartool command.I would rather use and external script (to wrap the
uncocommand)with myUnco.cmd stored in a directory referenced by your %PATH% environment variable, with;
Here (in the
.cmdscript)%1represents the$dirpassed through the clearcase contextual menu.