Dec 072017
A simple program to start a DOS session under OS/2 2.0; can be run from an OS/2 command prompt.
File STARTD.ZIP from The Programmer’s Corner in
Category OS/2 Files
A simple program to start a DOS session under OS/2 2.0; can be run from an OS/2 command prompt.
File Name File Size Zip Size Zip Type
DEMO.CMD 384 205 deflated
DEMO1.INI 85 60 deflated
DEMO2.INI 100 74 deflated
MAKE.CMD 61 51 deflated
README 2770 1453 deflated
STARTD.C 8544 2827 deflated
STARTD.DEF 19 19 stored
STARTD.EXE 35328 19035 deflated

Download File STARTD.ZIP Here

Contents of the README file


The big difference between this program and the OS/2 'start' command
is that you can specify a settings file. STARTD will read the settings
file specified on the command line after the /SF switch and then start
a dos session with those settings, otherwise it performs mostly like 'start'.

The settings file is just a list of the settings you want to change. One
setting per line (no blank lines) ie.


The setting names are the same as the ones in DOS SETTINGS options.

Also STARTD will not ignore the /BG option and will actually start a dos
session in the background (good for those startup.cmd dos sessions).

Type STARTD /? for a list of the options it supports.

The sample cmd file demo.cmd pops up two VDM's with different settings
and shows you the memory free in each one...

This is a quick hack so if it breaks tell me and I'll fix it (or fix it
yourself and tell me what I did wrong). I wrote this program without any
OS/2 technical reference (I'm still waiting for my redbooks) so I could
concievably done horrid things. One thing I still can't understand is how
DosStartSession knows how big the environment buffer is. But it seems to
work anyway...

Basically share and enjoy!
If you like/dislike the program send me email my
address is [email protected]

Although if you use my program on a regular basis and have an
OS/2 shareware app requiring payment for regular use then I would
like you to send me a note waiving the fee for that program.

And if you want to send me money please append your VISA/MC number
to your email message. 😉 (that's a joke for those who don't
understand smilies and have a habit of sending hate mail to people
who were obviously intending to be sarcastic)

This program is provided AS IS. There are no warranties expressed or implied
(except where prohibited by law -- what happens in that case I have no idea)
The author assumes no liability for damages caused by this program. I run it
everyday and haven't experienced any related difficulties...Mileage may vary.


STARTD does not check for invalid combinations of command line switches.
So if you specify STARTD /FS /WIN /PM /DOS you'll get a windowed DOS session
but who cares. At least it doesn't print "SYS179827346: You are a big jerk and
should know what parameters to specify"

STARTD's VDM sessions always run the autoexec.bat The OS/2 START doesn't if you
specify a command to execute. I think this is a feature 🙂

I'm sure there are many more, but hey:

Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.

 December 7, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>