I have a file which has multiple lines.
- It is required to have “-” after 8th position in every line.
- I can read lines with “-” at 9th position, but I am not able to write “-” at the 9th position if it is not there.
Any help would be really appreciated.
This vbs will
C:\temp\log.txt,Please change the path to your file to suit in this line
StrFileName = "C:\temp\log.txt"