Стартовый пул

This commit is contained in:
2024-04-02 08:46:59 +03:00
parent fd57fffd3a
commit 3bb34d000b
5591 changed files with 3291734 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
@echo off
if "%~1" == "" goto argument
if "%~2" == "" goto argument
setlocal
set FILENAME=%1
set FILENAME=%FILENAME:/=\%
set DESTINATION=%2
set DESTINATION=%DESTINATION:/=\%
copy /y %FILENAME% %DESTINATION%
exit /b 0
:argument
echo Copies a file to the specified destination.
echo Usage: copyfile [FILENAME] [DESTINATION]
exit /b 1

View File

@@ -0,0 +1,14 @@
@echo off
if "%~1" == "" goto argument
setlocal
set FILENAME=%1
set FILENAME=%FILENAME:/=\%
if exist %FILENAME% del /f /q %FILENAME%
exit /b 0
:argument
echo Removes a file if it exists.
echo Usage: remove [FILENAME]
exit /b 1

View File

@@ -0,0 +1,14 @@
@echo off
if "%~1" == "" goto argument
setlocal
set DIRNAME=%1
set DIRNAME=%DIRNAME:/=\%
if exist %DIRNAME% rd /s /q %DIRNAME%
exit /b 0
:argument
echo Removes a directory and all its content if it exists.
echo Usage: removedir [DIRNAME]
exit /b 1