Also you put the CRLF (?) before the $HOMEDRV so you would still have a blank line in your text file. There is a FAQ on that too.

$RC = RedirectOutput('c:\temp\HOMEDRV.txt',1) $HOMEDRV ?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.