GetServer - Example

Stores the server name of the resource connected to the local drive W: in the variable WIN_SRV.