Tony72,

Les brings up a great point..

Most people cannot write to directories (folders) below Windows or Winnt.. For example, they may not be able to change files at System32\Drivers\etc..

Personally, I came across an issue with our locked down users, that they cannot write to Windows/Winnt itself. This prompted me to create a $systemdrive+"\Scripts" folder.

HTH,

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