@echo off IF "%PUBLIC%"=="" GOTO NO_PUBLIC GOTO PUBLIC_FOUND :NO_PUBLIC Rem PUBLIC env var not here, assuming XP copy "Your File" "%ALLUSERSPROFILE%\Desktop" :PUBLIC_FOUND Rem Public Variable found copy " Your File" %PUBLIC%\Desktop |
@echo off IF "%PUBLIC%"=="" GOTO NO_PUBLIC GOTO PUBLIC_FOUND :NO_PUBLIC Rem PUBLIC env var not here, assuming XP copy "Your File" "%ALLUSERSPROFILE%\Desktop" :PUBLIC_FOUND Rem Public Variable found copy " Your File" %PUBLIC%\Desktop |
0 Comments