Windows batch command to move all folders in a directory with exceptions
FOR /d %%i IN (*) DO IF NOT "%%i"=="target" move "%%i" target
Robocopy (present in recent versions of windows or downloadable from the WRK) can do this, just use the /xd
switch to exclude the target directory from the copy;
robocopy c:\source\ c:\source\target\ *.* /E /XD c:\source\target\ /move