Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Read Just the Last Line of a Text fileContent of Read Just the Last Line of a Text file.vbsMD5 Hash: 4030D92D233F834046CDF99D2C206C4C |
||
Const ForReading = 1
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("C:\Scripts\Test.txt", ForReading) Do Until objFile.AtEndOfStream strLine = objFile.ReadLine Loop objFile.Close Wscript.Echo strLine | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |