Quote:
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?
$Redirected = ReadValue ($Key, "My Docs and My Pics redirected")
Quote:
2. what does the md command do? make directory?
Yep.
Quote:
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?
DO NOT pull anything out. Just copy the script as posted above (not the top one but the one below "Hold your horse....") and its ready for use.
Sorry. My bad. Change this:
Code:
Case 1
?"No changes needed.
to this:
Code:
Case $Redirected = "Yes"
?"No changes needed.
Edited by Mart (2005-08-17 11:10 PM)
_________________________
Mart
- Chuck Norris once sold ebay to ebay on ebay.