?
Solved

Clear memory and TSR from DOS command prompt

Posted on 2007-03-30
2
Medium Priority
?
2,971 Views
Last Modified: 2012-05-05
Hello,
I need some info on how to clear the memory or TSR's within my command prompt. I run a batch process within a command prompt, and that batch process calls a GroupWise API. So, this batch process is not completely DOS. It calls an API which is Windows based.

I would like for the batch process calls the GroupWise API repeatedly, but when I do I want it to have different account logons. However, this is difficult to do because the last "call" stays open in memory. So, I can't call it again within the same command prompt.

What command line tool do you recommend that I can run after each command I execute? I hope there is a command line tool that will flush out all TSR's and anything left open in memory. Is there such a tool? This is what I am looking for so if you know of a tool that will clear out my command prompt memory and anything left running then please let me know what it is and where I can download the program.

Thanks,
John
0
Comment
Question by:jhieb
2 Comments
 
LVL 30

Accepted Solution

by:
SteveGTR earned 2000 total points
ID: 18825587
I use to use MARK and RELEASE. Here's a reference to a site that has these tools:

http://www.bookcase.com/library/software/msdos.util.tsr.html

TSRCOM
Summary:       TSR memory managmt utils (MARK/RELEASE/MAPMEM)
Download:       tsrcom35.zip (Jun 21 1996, 77.8K)

The way it works is you run MARK and then run the processing that installs the TSR and does the processing.

When the processing is complete you run RELEASE and it releases the memory consumed by the TSR's and restores the interupt table.

You might also check to see if the TSR's involved in your processing have an unload feature. Some do it like this:

program /u

Good Luck,
Steve
0
 
LVL 1

Author Comment

by:jhieb
ID: 18826721
Thanks, I'll give this app a try.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

850 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