Is there a way of mounting certain drives with NET USE only when you're connected to certain networks? I use this particular laptop at home and at work. When I am at home and connect to the network there, I'd like to automatically mount some samba shares that are present.
At the moment I use the /persistent flag. If one of the home shares gets selected by accident or a program attempts to scan it whilst I am at work, Explorer tends to hang.
Is there a way around this?