Apparently, you've got data sprinkled throughout your script! Ahhhgh! ;\)

Unless your company has 5 or fewer people, having user-specific settings in your login script is a maintenance nightmare. AD Groups, my friend, are your BEST friend.
 Code:
If InGroup(groupname) do stuff... EndIf
We usually create an OU called AccessControls, and create "AC-sharename" groups. These groups control modify access to various folders. Adding "-RO" to the sharename indicates READ access only. It's easy to maintain - and folders have at most 5 permissions set - Admins, System, Owner, AC-share, and (optionally) AC-share-RO. Granting or revoking permission requires only one group edit.

Also, take a look at the UDFs to create shortcuts. Copying a .lnk file may not have the same logical reference on the target computer. Creating the link fresh via the UDF will insure that the .LNK points to the right target, whether local or remote.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D