?
Solved

make a TSR in permanent memory

Posted on 2002-03-31
10
Medium Priority
?
276 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 200 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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