Solved

make a TSR in permanent memory

Posted on 2002-03-31
10
260 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

776 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