Hi,

Just come to reliaze how stupid I've been

This is what I shoud do:

================================
IF EXIST("\\server1\share1\" + "%USERNAME%") = 1
USE Z: /D
USE Z: "\\server1\share1"
Shell '%comspec% /c C:\TEMP\TOOLS\XCACLS.EXE "Z:\%username%" /Y /T /R "domain\Domain admins"'
=====================================

This works!

I haven't been able to look that other topic...been busy on my work. Gonna look for it now.

Cheers

/Edit:
Mvdw: the topic that you mention....wow!!!! that's certainly waaay out of my league right now lol
I just wrote my first script and today I finished it. Took me some time but I'm getting there

Please see my script here under and any remark is welcome. Uhm...it's a long script so I'm gonna post it on a clean sheet.

[ 05 September 2001: Message edited by: Indra ]