>i will map a network drive automaticaly by program and
>write a file(backup) in it then disconnect with same program automatic
I see Michel has given you the answer, but is there any reason you have to use a mapped drive instead of just UNC -- i.e., \\SERVERNAME\SHARE\PATH?