U mean, like this?:
xcopy /Y C:\Users\User\Desktop\a\*.* C:\Users\Kei\b\ /s /q /f
del C:\Users\User\Desktop\a\*.* /s /q /f
ECHO Y | RD /s C:\Users\User\Desktop\a
well nothing changed, "a" disapears and all the stuff from "a" gots in "b". what CD does?
well "a" and "b" its just testing, the final thing will looks something like this:
xcopy /Y %userprofile%\Desktop\*.* %userprofile%\DesktopFiles\ /s /q /f
del %userprofile%\Desktop\*.* /s /q /f
ECHO Y | RD /s %userprofile%\Desktop\
i tested on the virtual mashine with the windows 7 and this batch, files where moved, but empty folders leaved. windows dint crashed. no errors appeared. thats good, but lots of empty folders where left on the desktop. how to make them delete to, to leave clean desktop? (well recycle bin will be anyways there cause its not rly in the desktop folder, but its ok)
and i wanna make this action quietly, cause im making a desktop theme pack, its like, setup will change wallpaper, glass color, install some themes for the apps. all works now, exept this desktop auto clean part...
i will mention in the rights agreement about desktop files moving lol, so i want to show to user as less installation messages / windows as possible. im trying to make this 1-2-3 easy user friendly installation.