Since Windows\system32 or Winnt\system32 is in the search path, you can probably eliminate it to be just:
Code:

SHELL 'cscript.exe "C:\XACLS.VBS" $folder /E /G "domain\user:LW"'



HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's