Quote:

How is this script being launched? Just wondering because of how $sPrinterIni is being set. The '.\' notation can be an issue if not used correctly,

$sPrinterIni=".\PrinterMap.ini"

i would either change it to

Code:

$sPrinterIni= @scriptdir + "\PrinterMap.ini"


This seems to make the trick !! It seems to mapp the printers on that zone..I will add some more zone and come back to you guys..thanks for the help.. I will leave the debug on for the moo...It seems to list all the groups the user is member of !!??
or at least make sure the script "knows" where it is right now.

Code:

$sPrinterIni=".\PrinterMap.ini"
if exist($sPrinterIni)
? found it
endif