how can i get xcopy to copy folders on a mapped drive on domain?
Posted on 2007-09-28
heres the problem i have new w2k3 domain and testing out new file structure. i have a folder that has a script in it that when ran by certain users it creates a whole bunch of folders(already setup somewhere else) with files in it and copies over permissions too. i am on a test user for one of my groups and the script will not run. this is my script.
xcopy Z:\protected Z:\Projects\ATT_BW /e /i /o /y /k /c
the drive that gets mapped to user is z: drive and the protected folder and projects are on the root. in the att_bw folder is this line in a .cmd file. heres the error i get.
Unable to create directory - Z:\Projects\ATT_BW
0 File(s) copied
I cannot figure out why when i logon and get mapped drive. i go into z and try it. it runs but i am the domain admin. when i try the test user, i get that error, any ideas? thanks.