Jooel,

Implemented the changes suggested.

However, I added in three Network printers and only the 'Default' shows in the INI file.

I think there is something with this:

code:
 $index=0
DO
IF '\\'=LEFT($x,2)
$priReg=$priReg+$x
ENDIF
$index=$index+1
$x=ENUMVALUE($dev,$index)
UNTIL @error=0 OR NOT LEN($x)

IF LEN($priReg)
IF EXIST($ps)
DEL $ps
ENDIF
FOR EACH $x IN SPLIT(SUBSTR($priReg,3),'\\')
$rc=WRITEPROFILESTRING($ps,'Printers',$index,'\\'+$x)
NEXT
ENDIF

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