Well if you already know how to manipulate the .INI file then here is some code to get the information you're looking for.
Code:
Break On
Dim $SO
$SO=SetOption('Explicit','On')
$SO=SetOption('NoVarsInStrings','On')
$SO=SetOption('WrapAtEOL','On')
Dim $Drives,$Drive,$RemotePath
$Drives=arrayenumkey('HKCU\Network')
For Each $Drive In $Drives
If $Drive
$RemotePath=ReadValue('HKCU\Network\'+$Drive,'RemotePath')
? $Drive + ' is mapped to: ' + $RemotePath
EndIf
Next
Function arrayenumkey($regsubkey)
dim $retcode, $subkeycounter, $currentsubkey, $subkeyarray
if not keyexist($regsubkey)
exit 87
endif
$subkeycounter=0
do
$currentsubkey=enumkey($regsubkey,$subkeycounter)
if not @ERROR
redim preserve $subkeyarray[$subkeycounter]
$subkeyarray[$subkeycounter]=$currentsubkey
$subkeycounter=$subkeycounter+1
endif
until @ERROR
$arrayenumkey=$subkeyarray
exit 0
EndFunction
Let us know how it works out, or if you need further assistance. As for the Windows 9x support, I don't have any Windows 9x to test on but if you allow profiles on your Windows 9x then this will be hard to do as this is not available during logon.