Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Read a Text File Character-by-CharacterContent of Read a Text File Character-by-Character.vbsMD5 Hash: C97383BCFAD7521244D4734879F32DFB |
||
' Description: Demonstration script that uses the FileSystemObject to read a text file character-by-character, and individually echo those characters to the screen. Script must be run on the local computer.
Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.OpenTextFile("C:\FSO\New Text Document.txt", 1) Do Until objFile.AtEndOfStream strCharacters = objFile.Read(1) Wscript.Echo strCharacters Loop | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |