이지우 - bat파일 삭제
This commit is contained in:
parent
b8b59fd9dd
commit
4db6f77398
@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
set "scriptname=copyAndRenameMysqlToTibero.bat"
|
||||
|
||||
for /r %%i in (*) do (
|
||||
set "filename=%%~nxi"
|
||||
if "!filename:Mysql=Tibero!" neq "%%~nxi" (
|
||||
if "%%~nxi" neq "!scriptname!" (
|
||||
copy "%%i" "%%~dpi!filename:Mysql=Tibero!"
|
||||
echo Copied and renamed: "%%i" to "%%~dpi!filename:Mysql=Tibero!"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
echo All "Mysql" occurrences in filenames have been replaced with "Tibero" in the copied files.
|
||||
endlocal
|
||||
pause
|
||||
@ -1,18 +0,0 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
set "scriptname=copyAndRenameMysqlToTibero.bat"
|
||||
|
||||
for /r %%i in (*) do (
|
||||
set "filename=%%~nxi"
|
||||
if "!filename:Cubrid=Tibero!" neq "%%~nxi" (
|
||||
if "%%~nxi" neq "!scriptname!" (
|
||||
copy "%%i" "%%~dpi!filename:Cubrid=Tibero!"
|
||||
echo Copied and renamed: "%%i" to "%%~dpi!filename:Cubrid=Tibero!"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
echo All "Cubrid" occurrences in filenames have been replaced with "Tibero" in the copied files.
|
||||
endlocal
|
||||
pause
|
||||
Loading…
Reference in New Issue
Block a user