randallc Posted November 6, 2005 Share Posted November 6, 2005 (edited) Hi, Ignore; not the problem Thanks, Randall Edited November 6, 2005 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
GaryFrost Posted November 6, 2005 Share Posted November 6, 2005 (edited) don't see anything wrong with it, I tried it on several files, one file with about 1200 lines in it, read just fine. $filename=@ScriptDir & "\Readme.txt" $Fso = ObjCreate( "Scripting.FileSystemObject" ) $f = $Fso.OpenTextFile( $filename, 1,0 ) While not $f.AtEndOfStream $line=$f.ReadLine() ConsoleWrite($line & @LF) Wend $f.close( ) Edited November 6, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now