[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Clear memory and TSR from DOS command prompt

Posted on 2007-03-30
2
Medium Priority
?
2,923 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 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

650 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