|@echo off |
IF "%PUBLIC%"=="" GOTO NO_PUBLIC
Rem PUBLIC env var not here, assuming XP
copy "Your File" "%ALLUSERSPROFILE%\Desktop"
Rem Public Variable found
copy " Your File" %PUBLIC%\Desktop
Wednesday, 30 May 2012
How to copy file to Desktop for Windows XP or Windows 7
Below are the useful Script can help you to copy file to XP , Vista or Windows 7 All Users Desktop
Open your notepad ,Copy and paste to notepad and save it to *.bat file.