Solved

make a TSR in permanent memory

Posted on 2002-03-31
10
258 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
  • 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now