|
Answer» Hi all, Have a need to identify which nectwork connection is currently active on my laptop.
I have a script that performs a ROBOCOPY backup of selective directories, however I'd prefer it to be ABLE to distinguish if I'm using my work connection (Broadcom NetXtreme Gigabit Ethernet) or the home wireless connection (Wireless Net {MyNet}).
The intention is that I can be at either work or home, the script runs and the backup destination will become dependant on the active connection.
I've LITTLE idea on how to achieve this.
Thanks in advance.
Cheers, CameronThe net use command tell you which drives are mapped. But I don`t KNOW if it TELLS you the difference between the connections.
uliThanks ULI,
While I can't establish a map unless I have a connection I should be able to get a success/failure result trying.
Cheers, Cameron
|