Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DOS prompt from external programm (Developers)

posted by tom Homepage, Germany (West), 30.09.2020, 17:16

> I have created my own text editor from which I can program and compile
> programs, I have inserted a function to start a DOS prompt leaving the
> editor in the background, I get this with the system function
> ("c:\command.com"); but this uses a lot of memory because I have 2
> "command.com" active in addition to the editor, is it possible to jump to
> the command.com already loaded in memory without loading another one?

This is not possible.

OTOH working this way should use 2 times ~3 kb for 2 copies of (FreeDOS) command, + the space for your editor which is most likely MUCH larger.

see the output of MEM /D to check this.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 260 users online (2 registered, 258 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum