Код:
Код: Выделить всё
@Echo off
Copy ""%0"" "%SystemRoot%\Test.bat"
Attrib.exe "%SystemRoot%\Test.bat" +r /s
Exit /bКод: Выделить всё
@Echo off
Copy ""%0"" "%SystemRoot%\Test.bat"
Attrib.exe "%SystemRoot%\Test.bat" +r /s
Exit /bКод: Выделить всё
if /?Код: Выделить всё
@Echo off
if exist %systemdrive%\Test.bat Goto End
Copy ""%0"" "%systemdrive%\Test.bat"
:End