Link to home
Start Free TrialLog in
Avatar of Darkejo1
Darkejo1

asked on

Append to beginning of text file instead of bottom using .vbs

I'm trying to append to the top of a text file rather then the bottom. How can I do this?
This code writes to the bottom rather then the top.
 
Set objFile1 = objFSO.OpenTextFile("C:\offline.txt", 8)
objFile1.Write VbCrLf & strcomputer

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Patrick Matthews
Patrick Matthews
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Darkejo1
Darkejo1

ASKER

Thanks!!!