From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg) Newsgroups: comp.os.msdos.djgpp Subject: Re: Dos MEM Command Date: 5 May 2000 15:20:50 GMT Organization: Ericsson Erisoft AB, Sweden Lines: 12 Message-ID: <8euosi$rcm$1@antares.lu.erisoft.se> References: <3912DA26 DOT FEED14AE AT home DOT com> NNTP-Posting-Host: lws256.lu.erisoft.se X-Newsreader: TIN [version 1.2 PL2] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Robin Johnson (robbat2 AT home DOT com) wrote: : I'm wondering how, when you run mem /d in dos, it can tell you which program has : which segment? If possible, I want to be able to find this out in DJGPP. Anybody : know how? Well, how about (untested) 'FILE p = popen("command.com /c mem /d", "r");'? Why work more than needed? Right, MartinS