Skip navigation

An Easier Way to Automatically Name Log Files

Downloads
27562.zip

In Reader to Reader: "Automatically Name Log Files with the Current Date and Time" (February 2002, InstantDoc ID 23468), Bret Bennett presents a script that uses ntdate.exe to automatically name log files. I have a simpler method that uses the standard Windows NT DOS date and time functions. Listing 1 shows my script.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish