Login | |
|
 |
RE: New to VBscript, need HELP! - 6/28/2006 11:06:34 PM
|
|
 |
|
| |
mbouchard
Posts: 1922
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
Post what you have.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: New to VBscript, need HELP! - 6/29/2006 10:36:41 AM
|
|
 |
|
| |
dm_4ever
Posts: 2721
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
|
Try the following: Set fso=CreateObject("Scripting.FileSystemObject") Set oFile=fso.OpenTextFile("myfile.txt", 1) fLine = oFile.ReadLine fline = CInt(fline) 'this line is not in your original Set oFile=Nothing Set oFile=fso.OpenTextFile("myfile.txt", 2) Do While fLine < 13 fLine=fLine+1 Loop oFile.WriteLine fLine oFile.Close
|
|
| |
|
|
|
|
|