Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Monitors a folder for a quicksave to pop up and then renames it numerically, sequentially, so multiple quicksave files can be generated by kOS
@echo off
SET /A count = 0
echo quicksave renaming watch active
:loop
if exist "D:\Steam Games\steamapps\common\Kerbal Space Program\saves\Kerbal Space Agency\quicksave.sfs" (
timeout 1
rename "D:\Steam Games\steamapps\common\Kerbal Space Program\saves\Kerbal Space Agency\quicksave.sfs" "quicksave%count%.sfs"
set /A count = %count% + 1
)
goto loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.