javascript vbcript seek eof

Posted by Roman Dorevich on Stack Overflow See other posts from Stack Overflow or by Roman Dorevich
Published on 2010-02-09T17:23:20Z Indexed on 2010/04/12 23:13 UTC
Read the original article Hit count: 438

Filed under:
|
|
|

Hello,

I am writing a destop script on windows 2003 and I need to open a file and seek to the end of it and read the last line. I looked for a "seek" but couldn't find. I saw the openTextFile for option but didn't have.

I implement it by openning the file with the red flag and then reading line after line. With big file it takes a time,

Do any one know how to do this quickly (either in vb script or javascript)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about vbscript