Created
December 30, 2020 15:27
-
-
Save KSAMissionCtrl/5b8008d0670a4c839f14c2e6f56db745 to your computer and use it in GitHub Desktop.
Keeps watch for a specific file name to show up in the directory then renames that file when it is found and goes back to waiting and watching...
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 | |
echo file renaming watch active | |
:loop | |
if exist "D:\Steam Games\steamapps\common\Kerbal Space Program\Ships\Script\operations.txt" ( | |
timeout 1 | |
rename "D:\Steam Games\steamapps\common\Kerbal Space Program\Ships\Script\operations.txt" "Kerbin II Orbital.ops.ks" | |
) | |
goto loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment