Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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