After searching for a while, I've drawn a blank, so I have to ask the question...
Has anyone yet figured out how to use MBXMAINT successfully in Windows Batch scripts? I've tried and I just can't get the program to give me a result. Although it appears (?) to perform the function requested, there is no output to stdout or stderr and there is no sensible ERRORLEVEL returned. For example, specifying -CH(ECK) seems to spend time doing something, but regardless of whether the folder is compos mentis or broken, the program returns ERRORLEVEL 1. This is useless. I want to code a program to (1) - scan the users (2000 of them), (2) - decide if any folders are broken, (3) - fix the broken folders and (4) - compress all the folders. Why? Because users frequently omit to close Pegasus when logging off and therefore folders can get corrupted when Pegasus is ungracefully terminated. Turning off the compression option is only partially successful in curing this, but in any case, I need (?) to provide off-line compression as a substitute.
<P>After searching for a while, I've drawn a blank, so I have to ask the question...</P>
<P>Has anyone yet figured out how to use MBXMAINT successfully in Windows Batch scripts? I've tried and I just can't get the program to give me a result. Although it appears (?) to perform the function requested, there is no output to stdout or stderr and there is no sensible ERRORLEVEL returned. For example, specifying -CH(ECK) seems to spend time doing something, but regardless of whether the folder is <EM>compos mentis</EM> or broken, the program returns ERRORLEVEL 1. This is useless. I want to code a program to (1) -&nbsp;scan&nbsp;the users (2000 of them), (2) - decide if any folders are broken, (3) - fix the broken folders and (4) - compress all the folders. Why? Because users frequently omit to close Pegasus when logging off and therefore folders can get corrupted when Pegasus is ungracefully terminated. Turning off the compression option is only partially successful in curing this, but in any case, I need (?) to provide off-line compression as a substitute.</P>