Solved

make a TSR in permanent memory

Posted on 2002-03-31
10
272 Views
Last Modified: 2012-05-04
TSR programmed when run is DOS shell it gets stored in temporary memory. How do i store it in a permanent memory that whenever the computer is rebooted the TSR program runs automatically.
0
Comment
Question by:shahnawaz_c
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 10

Expert Comment

by:rj2
ID: 6908557
Try to add it to autoexec.bat to make it run automatically each time you start a DOS shell.
0
 
LVL 1

Accepted Solution

by:
CSLIU earned 100 total points
ID: 6908767
Make a program as a virus.
The TSR program runs automatically after it infecte "command.com".
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 6912544
Use INT 21H with AH=4cH

-- Dan
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 32

Expert Comment

by:jhance
ID: 6912560
What has this question to do with C++?
0
 

Expert Comment

by:rtenhove
ID: 6914104
Use CONFIG.SYS or AUTOEXEC.BAT.
0
 

Author Comment

by:shahnawaz_c
ID: 6915540
but how make a program as a virus??
0
 

Author Comment

by:shahnawaz_c
ID: 6915552
but how i can add with it autoexec.bat?
0
 

Author Comment

by:shahnawaz_c
ID: 6915564
where it is this program in c.how i can include my TSR prog
to autoexe and config.sys
0
 
LVL 1

Expert Comment

by:CSLIU
ID: 6928956
0
 

Expert Comment

by:rtenhove
ID: 6931637
Are we not stepping into questionable ethical territory here?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question