>Have you tried this to force the drive to unmap? It will work as long as the OS has no open files (or folders) on the drive:
>cDriveLetter=...whatever is the mapped drive letter
>TRY
> oNW=CreateObject("WScript.Network")
> oNW.RemoveNetworkDrive(cDriveLetter)
>CATCH
> ...whatever
>ENDTRY
>
>>There isn't a network section. I'm not sure this section right but...
>>
>>Hi All,
>>
>>You know. You map a network drive. After downed remote computer, connection will be no longer. Remote computer turned up again and you have to click that mapped drive from my computer for run your links mapped from that drive. That click make your pc reconnect that remote computer.
>>
>>How can I do that with VFP codes without click from my computer that mapped drive? I have to reconnect that mapped drive...
Thanks, Borislav's message worked good.