You are contradicting yourself. First you said:
Quote:
IF INGROUP("Private") fails with a message "Unknown Command [Private]"
As for your first error, if KiX interprets the InGroup() parm "Private" as a command, generally that means there is mismatched quotes, parens, or other delimiter. When running in debug, watch the command lines just before the error for clues.
Now you say:
Quote:
;;;; Code exits to OS about here
USE $IDRDrive /DELETE
Don't be vague. Is it bailing on or before that line? You may want to include the /PERSISTENT switch for good measure.
There have been cases documented where two identical looking snippets of code behave differently where one of them has something hidden in the white space. Retyping it word for word will fix it.
Strip your code down to the absolute smallest that still errors and try retyping it in a new file.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.