Move Multiple User shares - TechRepublic
Question
July 8, 2010 at 12:45 PM
techintern

Move Multiple User shares

by techintern . Updated 16 years ago

I am doing some cleanup of our users shares folder and need to move some user folders and subfolders to a different directory. I have the usernames separated by comas in a text file. I have created a batch file which works for xcopy but not move. It is a windows 2000 server
here is the script i am using

for /F “delims=,” %%i in (D:\moveutils\Users.txt) do move “D:\users\%%i\*.*” “D:\Disabled User Archive\%%i” /e /s

can anyone help…

This discussion is locked

All Comments