I have a c:\users.txt file which contains a list of user IDs.
I need to create a script to read the users.txt file and "MOVE" the subfolders in the M:\USERS directory into another server (\\SERVER1\DUMP\USERS).
Will this script works?
for /f %%a in (c:\users.txt) do move m:\users\%%a \\server1\dump\users
I tried to just run "move m:\users\%%a \\server1\dump\users" in the command prompt but it returns "Access is denied".
It is a Administrator session so I do not know what it the problem. I have verified right from windows explorer.