Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have posted this question so many times, it isn't funny. I just wanna know how to load a simple batch program into main memory (RAM) so that it sits resident untill invoked to activate. For instance, I just want my batch program to be resident in memory, then when the user presses Ctrl + G or some key combo, it triggers the batch to run its routine. Can someone PLEASE, for the love of god, atleast tell me where I need to go to learn how to do it, what language I need to look at, or anything that could help. The program HAS to run as I have said. It is on business PC's, so I can't go to 200 pcs and create shortcuts for each, nor do i want to. I simply want it to do what I said. PLEASE PLEASE help!

You cant. You can load a TSR via a batch file, but not the batch file itself. All a batch file is is a text file containing a series of commands. You cannot make a text file TSR.
If you want a TSR you are going to have to do it in C++ or some similar language that produces EXE files and not VB.
Stuart
Stuart

You will have to write a program that runs all the time looking for the key sequence you want that then "starts" a Command session and "calls" the BAT file to run it and execute its commands.

The only way I know of wtiting TSR's is in assembler and redirect an interupt request. There may be a way to write an assembler program that launches a batch file. Let me know if you need sample code.
Tell me more about you idea. they may be an easier way.

![]() |
Need a directory of DOS c...
|
running a shell script fr...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |