vim -c "inoremap jk " -c "set nu"
@echo off
setlocal enabledelayedexpansion
set "folder=target/"
set "searchString=2024/06/21 12:04"
if not exist "%folder%" (
echo フォルダ %folder% 存存在しない
exit /b
)
cd "%folder%"
for %%a in (*.log) do (
findstr /i /m "%searchString%" "%%a"
if !errorlevel! equ 0 (
call :method "%%a"
)
)
echo End
pause
exit /b
:method
"sakura.exe" "%folder%%~1" -M="go.mac"
goto :eof