Home » Questions » Computers [ Ask a new question ]

How to copy XP service log file during reboot or shutdown using command prompt?

How to copy XP service log file during reboot or shutdown using command prompt?

Anybody know of a quick way of copying a log file used by a Windows XP service either before the service starts (during boot) or after the service has stopped (during shutdown)?

Asked by: Guest | Views: 373
Total answers/comments: 1
bert [Entry]

"You can add startup and shutdown scripts in windows. I think this is the easiest way to do what you want to do. Simply create a script which copies the service log to a location of your choosing. Simply execute the command from your boot or shutdown script.

This Page has some very illustrative instructions on how to enable the startup/shutdown script capability."