Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Active Network Connection  (Read 2603 times)

0 Members and 1 Guest are viewing this topic.

CameronY

    Topic Starter


    Intermediate

    Active Network Connection
    « on: May 03, 2006, 11:13:59 PM »
    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,
    Cameron

    uli_glueck

    • Guest
    Re: Active Network Connection
    « Reply #1 on: May 03, 2006, 11:43:25 PM »
    The net use command tell you which drives are mapped.
    But I don`t know if it tells you the difference between the connections.

    uli

    CameronY

      Topic Starter


      Intermediate

      Re: Active Network Connection
      « Reply #2 on: May 04, 2006, 12:04:19 AM »
      Thanks 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