0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

testtest20240622

Posted at

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

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?