how can i move the folders from one file server to other.
Below is my code and I've around 15000 files from various folders to move.
************************************************************************
Code: Select all
move "Z:\Archive & Old\NTD.mdb" "\\FileServer01\dept\IT\Archive\NTD.mdb
if not %errorlevel%==0 echo Failed to move:(Test) NTD.mdb >>"\\FileServer01\data\IT\MSAccErrorLog.txt"
************************************************************************
Above code is working only if the destination has respective folder.
Is there anyway which can creates the folder structure like it does in xcopy command.
TIA.