Just made an AHK script to do it for you if you want. If you already have AutoHotKey Just save the script to the parts folder (dont forget LLL-Extra), run and press ok. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. NSB = node_stack_bottom msgbox Start Inc = 0 tooltip, % Inc Loop, *.cfg, 1, 1 { FileRead, CurrFile, %A_LoopFileLongPath% Old = % CurrFile New = loop { IfInString, Old, %NSB% { Inc += 1 tooltip, % Inc StringGetPos, NodePos, Old, %NSB% StringLeft, Temp, Old, %NodePos% StringTrimLeft, Old, Old, %NodePos% New = % New . Temp Loop, Parse, Old, `, { StringLen, Len, A_LoopField Len = % Len + 1 StringTrimLeft, Old, Old, %Len% if A_Index < 5 { New = % New . A_LoopField . "," continue } New = % New . " -1.0," break } } else { break } } New = % New . Old FileDelete, %A_LoopFileLongPath% FileAppend, %New%, %A_LoopFileLongPath% } tooltip, % Inc pause #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.