@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 |
Start a chat. We're here to help you 24/7.
Hi there! 👋
My name is Nathan. How can I assist you today?
0 Comments