OWL:

How about...

shell '%comspec% /c net use >"%temp%\%username%-drives.txt" 2>nul'

Shawn.