esk
asked on
Connect to network drive and force connect
Many thanks for last question,
let's say if i'am going to connect network drive K: with \\Server, but
this char K: is already connected ( taken ),
so i'am wondering if i can connect to another network drive with theese drive letter K: ?
Points..........Points.... ......Poin ts........ ..Points.. ........Po ints...... ....
Esk
let's say if i'am going to connect network drive K: with \\Server, but
this char K: is already connected ( taken ),
so i'am wondering if i can connect to another network drive with theese drive letter K: ?
Points..........Points....
Esk
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
esk, you can try to call 'net use * \\myserver\myDir' via Createprocess or ShellExecute, this will try to connect you to NEXT AVAILABLE local driver letter
if buf = '\\server2\C_drive'
to something like
if not buf = '\\server2\C_drive' ...