VOGONS


SHARE option

Topic actions

First post, by gme24

User metadata
Rank Newbie
Rank
Newbie

Need to include this option in order to run a legacy application.
Normally the share option can be found in the AUTOEXEC.BAT
How can and where can I include this option.

Many thanks

George

Reply 1 of 5, by jesolo

User metadata
Rank l33t
Rank
l33t

Anywhere in your Autoexec.bat file.
It's a TSR that runs on startup.
You might want to check how much memory it consumes (mem/c|more) command to see in which order you must load it.
If you have EMM386.EXE active (an expanded memory driver), then you should also be able to load it via the LH command into upper memory.
Refer this page for more detail: https://en.m.wikipedia.org/wiki/Share_(command)

Reply 2 of 5, by mr_bigmouth_502

User metadata
Rank Oldbie
Rank
Oldbie

Hate to be blunt, but DosBox is not intended for non-gaming applications, and the emulation isn't accurate enough to feasibly run mission-critical software. You'd be better off looking into virtualization tools, like VMWare or Virtualbox.

Reply 3 of 5, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Moved to Dosbox section as it is very likely a Dosbox question. Please make sure to read the forum descriptions before posting.
Share is not supported in Dosbox, it is in other forks of it. You can use fakeshare but that is... fake... and isn't safe to use.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 5, by gme24

User metadata
Rank Newbie
Rank
Newbie

Many thanks for all the replies received.

Reply 5 of 5, by JosSchaars

User metadata
Rank Newbie
Rank
Newbie

Share.exe alone won’t do; DOSBox’ file caching will counteract share.exe’s main purpose; exclusive access to file regions by locking.
You can try vDos (www.vdos.info), it has share built-in, and delivers reliable locking.

Jos