if file("x:\somefolder\somefile.dbf") else run /n7 net use X: \\myserver\C /user:administrator 12345 endif *Where - X: is the local drive for the connection * \\myserver is your lan machine name * administrator is your user name * 12345 your passwordHTH