Computing.Net > Forums > Programming > How do i load batch as tsr

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How do i load batch as tsr

Reply to Message Icon

Name: PLEASE HELP
Date: December 16, 2003 at 14:49:17 Pacific
OS: xp
CPU/Ram: 512
Comment:

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!



Sponsored Link
Ads by Google

Response Number 1
Name: Stuart
Date: December 16, 2003 at 14:54:14 Pacific
Reply:

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


0

Response Number 2
Name: JackG
Date: December 16, 2003 at 15:08:31 Pacific
Reply:

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.


0

Response Number 3
Name: jim lease
Date: December 31, 2003 at 11:12:45 Pacific
Reply:

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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Need a directory of DOS c... running a shell script fr...



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: How do i load batch as tsr

HOW DO I DOWN LOAD THIS www.computing.net/answers/programming/how-do-i-down-load-this-/87.html

How do i launch the default browser www.computing.net/answers/programming/how-do-i-launch-the-default-browser/707.html

How do I create a hotkey with bat www.computing.net/answers/programming/how-do-i-create-a-hotkey-with-bat/17742.html