You reference the location of the INI file indirectly, as in ".\filename". I'd sprinkle a few @CURDIR and @SCRIPTDIR macros around and see if the locations are different between running during logon and interactively. \:\)

Also - try this:
 Code:
$Mappings = EnumIni('.\netprint.ini', 'MAPPINGS')
@SERROR ?
- see if "The command completed successfully" or not.

Glenn

PS - you do know that our commercial Kix login script maps resources by AD Site, OU, Group, and Network Subnet, and is a free download, right? ;\)
_________________________
Actually I am a Rocket Scientist! \:D