Well... since you are showing me yours, I'll show you mine.
This was used to modify the current ScriptPath to reflect the OU medelled folder structure.
Code:

BREAK ON

$users = GetObject("LDAP://ou=Users,ou=FW,ou=yada,dc=bla,dc=local")
$Users.filter = Split('user')

for each $user in $users
if $user.scriptpath <> ""
$loginscript="FW\"+ $user.scriptpath
if $user.scriptpath <> $loginscript
? "Current Script for " +$user.name " is: " +$user.scriptpath+ " Modified to " +$loginscript
;$user.scriptpath = $loginscript
;$user.SetInfo
endif
endif
next

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.