Created
May 21, 2019 09:20
-
-
Save apollo2k4/0b8bf09f5d6d6a4aefed91742c97da11 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
rem Если нет файла восстанавливаем его из bak | |
if not exist adreg.exe goto copy_exe | |
:copy_exe | |
copy adregeg.exe.bak adreg.exe | |
rem если файла есть идём дальше | |
if exist adreg.exe goto backup | |
:backup | |
rem делаем резервную версию | |
if exist adreg.exe goto copy_bak | |
:copy_bak | |
copy adreg.exe adreg.exe.bak | |
rem Запускаемя | |
start adreg.exe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment