you might wanna try it with tf.ahk, its a lib you need to download, however i am not sure how it handles the files. Heres the info download example codes (see 1st code there is "!" before File.txt. i guess it overwrites the file): TF_ReplaceInLines("!File.txt","1,3,9","","key","lock") ; update sourc...