Solved

Clear memory and TSR from DOS command prompt

Posted on 2007-03-30
2
2,684 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 500 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

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

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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

867 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

20 Experts available now in Live!

Get 1:1 Help Now