The script is a temporary means of pushing out a WPA/PSK/TKIP SSID to a few thousand laptops at 27 different sites on independant domains, using microsofts network setup wizard etc. The setup is dodgy as hell but its the only possible way i could find of doing so untill we have a central active directory to do it via Certificates / Radius.

C:\Temp exists on *most* computers, and permissions set via group policy enable users to create folders under C:\ with 'modify' permissions to any folder they create (mostly for storing .PST files too big for their Home directories). They cannot put files under root C: or do anything to c:\Windows though so it aint so bad.

%temp% - that's not a bad idea and i'll have to have a look at it.

as for the '?' - havn't been using from habbit from other languages, infact i've barley ever programmed at all before, my experience in programming consists of a semester of VB.NET at highschool, i'm attempting to teach myself how to script. I've just redone the generic logon script for each site, i might post up a copy at some stage to see what you guys think before i roll it out to the schools. It's much better than the previos ones - which had a seperate COMPUTERINGROUP and MAPPRINTER UDF for each printer : \ .