Created
November 5, 2025 21:29
-
-
Save masari/56300578e9d28d3a81d73338dcb09375 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| taskkill /f /IM baretail.exe /t > NULL 2>&1 | |
| set "baretail_exe=C:\tools\baretail.exe" | |
| set "logdir=C:\Orchestrade\914_Patch2\buildCore\Logs" | |
| set /a n=0 | |
| del "%logdir%\*.log" /t > NULL 2>&1 | |
| set /a FileCount=0 | |
| for /f %%a in ('DIR "%logdir%" /A:-D /B ^| FIND /C /V ""') do set "FileCount=%%a" | |
| SETLOCAL ENABLEDELAYEDEXPANSION | |
| for %%f in ("!logdir!\*.log") do ( | |
| start "" "!baretail_exe!" --tile-window-count "!FileCount!" --tile-window-index !n! "%%f" | |
| set /a n+=1 | |
| ) | |
| ENDLOCAL | |
| pause | |
| taskkill /f /IM baretail.exe /t > NULL 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment