OK, I think Howard and I are on the right track. This is an admin script that is moving shares and you want to make sure the share is not in use when you move it.

This would be the same as from 'Server Manager' 'Shares' show connected users. Don't know if an RK util exists or a CL command.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.