earthandfire, I didn't find any "power cut". I've tested that script and it does its job. If you want to test it, just paste the code into a .vbs file, create a non-empty text.txt (it has to have some text in it!) in the same folder as the .vbs and run the .vbs. On my computer (XP SP2) the...
Did you check the clsid's? Maybe, your XP doesn't have the same version of Office as your Y2K.
I have Office 2003 and I didn't find any of the CLSID:0002E500-0000-0000-C000-000000000046 or CLSID:0002E510-0000-0000-C000-000000000046.
I'd use the following: open the log file > read all the contents > write over the previous file: the new lines + all the existing contents. I've tryed it and it works. ;)
Here's how it looks:
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.