rossd
12-03-2001, 10:50 AM
Hi All,
I'm not too proficient with VBScript, to be honest I am only after a couple of things out of it. I am setting up a remote backup solution for my company and am trying to edit log files automatically. Basically I need to be able to grab the last ten lines of a given file(variable in length) and export it to another file. Thats it! But I'll be damned if I can find a sample piece of code anywhere!
Any help will be gratefully received!
I'm not too proficient with VBScript, to be honest I am only after a couple of things out of it. I am setting up a remote backup solution for my company and am trying to edit log files automatically. Basically I need to be able to grab the last ten lines of a given file(variable in length) and export it to another file. Thats it! But I'll be damned if I can find a sample piece of code anywhere!
Any help will be gratefully received!