Move desktop files to a folder using cmd
<p>I wanted to make a windows command line script that moves all of the user data into a folder.
I stared with moving all the files from the desktop into a folder
Its working with xcopy but i revive some errors while using <code>move</code>.</p>

<pre><code>@echo on
set SOURCE=C:\Users\%username%\Desktop
set DESTINATION=C:\dir2
xcopy "%SOURCE%\*" "%DESTINATION%\*"  /y
pause
</code></pre>

<p>This works with <code>xcopy</code> but when I change it to <code>move</code> the syntax breaks.
Why is it happening?</p>