Skip to content
signed-log edited this page Dec 27, 2023 · 9 revisions
Table of contents (click to expand)

Introduction

DOSBox Staging does include some basic utilities allowing you to install and run a wide range of progams. For instance, the [DIR] command will allow you to list files and directories, IMGMOUNT will mount CD/floppy images, etc. Those utilities are referred to as internal programs. You can find more details about such programs in the documentation.

For many reasons it can be interesting to add extra utilities. For instance to extend DOSBox Staging functionalities or simply because a game or application won't properly run without a specific command (eg. XCOPY.EXE).

Note: starting with DOSBox Staging 0.79 a new drive Y: is available, automounted by default. It plays the same role as the U: drive described in that documentation. The files stored on Y: can be found under the resources directory. Depending on your setup it may be easier to add files to that drive instead. Make sure to read about the PATH command.

[Top]


U: drive

To keep your DOS environment as clean as possible, it can be handy to store/install extra utilities at the same distinct location to have a DOS drive pointing directly at them. Hence the U: drive naming. You will be able to use that drive to install drivers (eg. Gravis UltraSound) but also for storing DOS/32A files.

Note: the U: drive is a recommendation for new users. You're free to organize your files and applications the way you want.

Let's assume you followed the Getting Started tutorial. You should have a UTILS directory where you will copy over the various utilities executables. If required install the drivers to that same location but create sub-directories to keep things tidy.

To the right an image to illustrate our example. Here drivers for the Gravis UltraSound and UniVBE have been installed and the DOS/32A files have been copied over. The extra utilities EDIT.EXE and XCOPY.EXE have been added too.

From there you will have to tell DOSBox Staging to mount the UTILS directory as U: drive. You can mount it all the time by adding it to your global config file.

Mount the U: drive the same way you would with any other drive:

[autoexec]
mount u ~/.config/dosbox/utils
set PATH=u:\;%PATH%

From now on any executables/drivers stored in the U: drive will be available to DOSBox Staging.

Note: read the FAQ to know more about the PATH command.

DOSKEY

Let's take a final example with the DOSKEY utility. You can run your favourite command-line helper with DOSBox Staging this way:

  1. Download @Wengier's enhanced DOSKEY.
  2. Place it in the extra utilities directory (UTILS).
  3. Add a few lines to your global config file's [autoexec] section to mount that directory as the U: drive and to add it to your PATH.
[autoexec]
@echo off
mount u ~/.config/dosbox/utils
set PATH=u:\;%PATH%
LH doskey

Now, whenever you run DOSBox Staging, DOSKEY will be loaded in high-memory:

[Top]


How to get utilities?

Manually

One of the quickest and easiest way to add more utilities to your DOS environment is by browsing the ibiblio.org FreeDOS repository. Most users will find everything they need from the FreeDOS Base section at the top of the page. Click on the name of the utility you're interested with then on the Download link. Extract the binary for instance to your U: drive.

This is the perfect way for users to cherry-pick exactly what they need.

FreeDOS Installer My Package List Editor Software (FDIMPLES)

For users needing more command-line tools and utilities, download the FreeDOS BonusCD which comes with the FDIMPLES package manager. As of writing this is not a recommended solution for new users given this package manager has to be properly configured and fine-tuned to get a seamless experience.

Excellent step-by-step instructions are provided by Jim Hall, the author of FreeDOS.

[Top]


Selection of utilities

In addition to the ibiblio.org FreeDOS repository users may find the below utilities useful. Definitely not an exhaustive list hence feel free to contribute.

Click on the utility's name to get to the download page.

Name Screenshot Comments
LS ls_screenshot Listing Service LS version 8.0a by artSHLEE; Sang-hyun. Update by artSHLEE & YongHyun in Korea Univ. Electrical Engineering. D /? for help.
MaxDIR MaxDIR_screenshot DOS color directory program.
wcd wcd_screenshot wcd is a program to quickly change directory.

[Top]


Clone this wiki locally