you should add the /persistent switch to it so that it stays connected all the time. Full batch should looks like this...
net use x: \\server\driver /delete
net use x: \\server\driver /persistent:yes
Like Ryan said, drop it into the start up and this way the connection will always be fresh. The /delete is used to refresh the connection and the persistent it just to enforce the property.
takes like 2 seconds to run so this should be good for you.