File line Topic is solved
File line
How can I delete first line of text file, and the move 2nd line to position 1?
Re: File line Topic is solved
example removes 1st line
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
Re: File line
Thats it! Thank you so much
Who is online
Users browsing this forum: blue_fields and 318 guests