Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
|
|
@ -0,0 +1,14 @@
|
|||
Const ForReading = 1
|
||||
Const ForWriting = 2
|
||||
|
||||
strFiles = Array("test1.txt", "test2.txt", "test3.txt")
|
||||
|
||||
With CreateObject("Scripting.FileSystemObject")
|
||||
For i = 0 To UBound(strFiles)
|
||||
strText = .OpenTextFile(strFiles(i), ForReading).ReadAll()
|
||||
With .OpenTextFile(strFiles(i), ForWriting)
|
||||
.Write Replace(strText, "Goodbye London!", "Hello New York!")
|
||||
.Close
|
||||
End With
|
||||
Next
|
||||
End With
|
||||
Loading…
Add table
Add a link
Reference in a new issue