Solved

Clear memory and TSR from DOS command prompt

Posted on 2007-03-30
2
2,757 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
[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
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DOS string replace and remove character at end 3 86
Data copy batch script 21 67
Batch file output 20 95
Windows updates batch files 7 209
One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
TOMORROW TOMORROW.BAT is inspired by a question I get asked over and over again; that is, "How can I use batch file commands to obtain tomorrow's date?" The crux of this batch file revolves around the XCOPY command - a technique I discovered w…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

737 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