Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. hallymaster

    Append text to Beginning of File

    It's OK, now I got your point.
  2. hallymaster

    Append text to Beginning of File

    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...
  3. hallymaster

    VBScript codes in window XP professor

    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.
  4. hallymaster

    Append text to Beginning of File

    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 =...

Part and Inventory Search

Back
Top