CIR not working


help me to correct this CIR rule     

 ShellCommandTextReturn(cmd /c dir /b  "C:\Program Files\IBM\Notes\Data\workspace\.metadata\.plugins\com.ibm.collaboration.realtime.login\*.xml")   else  ( "C:\Program Files (x86)\IBM\Notes\Data\workspace\.metadata\.plugins\com.ibm.collaboration.realtime.login\*.xml")

0 Comments   [ + ] Show comments

Answers (1)

Posted by: chucksteel 3 years ago
Red Belt
According to the documentation there isn't an else operator. There is an OR operator, however. 

You also need to include the function both times. 

Further, since this is a value return rule it will probably return values for both commands. In these cases where I am dealing with x86 and x64 systems I generally create two separate rules.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ