KioskeaKioskeaCommentCaMarcheSign up, it's free !
Friday July 4, 2008 - 11:07:18 am BST
vbscript read line in the middle
par god09
 Threaded discussions
Statut : Not resolved
Thursday April 3, 2008 01:12:49 PM
Hello,


I want to have a vbscript to read text file start from the middle of the file. Each time read the file and skip the first 5 lines and strat from sixth line until the end of file how can i do it?
Configuration: Windows XP
Internet Explorer 6.0
Reply to god09  Report this message to moderators Go to last message

1


  • This message seems useful, vote!
  • Report this message to moderators
By noblepentium, on Thursday April 3, 2008 02:58:53 PM Threaded discussions 
Hello


Just add a loop afteryou open the file and throw away the first five lines.

' Assuming your file stream is called oFileIn...

Dim i

For i = 1 To 5
oFileIn.ReadLine
Next
Reply to noblepentium
Currently no message on this subject
Reply
Message title :
Your nick:
Your E-mail :
Message: 
  •  
  •  
Options: Get the answers by mail.
 

Help