True, it would just be lost. I figured I could derive the actual code I need from that sample code.
I have wrote a script to type the neccissary charactors into an old DOS program called CATS that it needs to exit gracefully and not corrupt the database. The problem is that if I run it as a logoff script windows closes cats before my script actually runs.
So, I wanted to modify my script so that it can detect a logoff or shutdown event and exit the program gracefully.
I am not a programmer so I dont really have development tools
Main Topics
Browse All Topics





by: Idle_MindPosted on 2007-10-20 at 20:09:20ID: 20116697
This will be terribly difficult (if not impossible) to accomplish in VBScript (.vbs).
What are you trying to achieve here anyways? Why type characters into NotePad before the system logs off or shuts down? Won't it just be lost?
Do you have any other development tools available to you?...such as VB6, VB.Net 2005 Express, C# 2005 Express, Delphi, C++, etc...