Posted: 05 Dec 2017, 14:56
How can I delete first line of text file, and the move 2nd line to position 1?
Let's help each other out
Code: Select all
f1=%a_scriptdir%\test1.txt FileRead, File,%f1% newfile:=SubStr(file,InStr(file,"`n")+1) FileDelete,%f1% FileAppend, %newfile%,%f1% run,%f1% return