there are a couple of questions now:

1. i changed the mapping to my docs on the desktop and the value was rewritten in to the reg. however, when i logged out and back in, it said no changes were necessary and therefore, did not change the docs back to R:\. what is it reading to determine whether or not a change is needed?

2. what does the md command do? make directory?

3. i pulled out this section: $rc = ReadValue ("subkey", "entry")If $rc <> "R:\" WriteValue ("subkey", "entry", "expression", "data type") $kill= EnumProcess("explorer.exe",1)Else ?"No changes needed skipping to end."EndIf.

does it need to be left in?

thanks dude, you rock!