Last active
May 21, 2021 14:13
-
-
Save gcch/ab5cd446385c4df80f6d5a9a748755a0 to your computer and use it in GitHub Desktop.
This file contains 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 | |
:: | |
:: FALterm Launcher | |
:: | |
:: Copyright (c) 2021 tag. All rights reserved. | |
:: | |
cd %~dp0 | |
set "INTERFACE=1" | |
for /f "usebackq" %%a in (`tasklist ^| find "FALterm" /c`) do ( | |
set "FLG=%%a" | |
) | |
if "%FLG%"=="0" ( goto RUN ) else ( goto END ) | |
:RUN | |
echo Start FALterm.exe | |
start "" "cmd /c "echo %INTERFACE% ^| FALterm.exe"" | |
:END | |
timeout 3 >nul |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment