Mart - Borrow away! Great to hear that my stuff can be used!
That kind of huge pile of cr*p I did inherit as well - this is the result of it :). Thank you for the rewrite - tossed it up instead.
Regarding the userpart of the script I found that the amount of users that acctually needed their own script - was so few but needed so much alteration so I used the built in function of kix (the first check for @userid.kix , then kixtart.kix ).

Les - that's because I did not write that function - someone else here did - and I did not sanitize it since it rolled anyway in the env.
SETTIME was used prev on adminmachines that wasn't really part of production - don't bite it off please ;).

I know - never really understood why we kept using it either - until we rebuilt the env. and ad kept missing to map it, that wasn't my real concern to fix, so I used it until they fixed it.

The drive deletion came because some did persistent mappings over certain map-letters, that was by policy to be used by what ever was mapped by us.
Needs to be rewritten to acctually work - this is old scrap from home when I started it out ;).
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!