# Commands & Utilities

These are some utitlies to assist you in using Dosemu.

## Programs

bootoff.com

- switch off the bootfile to access disk see examples/config.dist at bootdisk option

booton.com

- switch on the bootfile to access bootfile see examples/config.dist at bootdisk option

uchdir.com

- change the Unix directory for Dosemu (use chdir(2))

dosdbg.com

- change the debug setting from within Dosemu

  - dosdbg -- show current state

  - dosdbg <string>

  - dosdbg help -- show usage information

eject.com

- eject CD-ROM from drive

emumouse.com

- fine tune internal mousedriver of Dosemu

  - emumouse h -- display help screen

exitemu.com

- terminate Dosemu

ugetcwd.com

- get the Unix directory for Dosemu (use getcwd(2))

isemu.com

- detects Dosemu version and returns greater 0 if running under Dosemu

lancheck.exe

- ???

lredir.com

- redirect Linux directory to Dosemu

  - lredir -- show current redirections

  - lredir D: LINUX\FS\tmp -- redirects /tmp to drive D:

  - lredir help -- display help screen

mgarrot.com

- give up cpu time when Dosemu is idle

speed.com

- set cpu usage (HogThreshold) from inside Dosemu

system.com

- interface to system(2)...

unix.com

- execute Unix commands from Dosemu

  - unix -- display help screen

  - unix ls -al -- list current Linux directory

  - caution! try "unix" and read the help screen

cmdline.exe

- Read /proc/self/cmdline and put strings such as "var=xxx" found on the commandline into the DOS enviroment. Example having this as the dos commandine:

                       dos "autoexec=echo This is a test..."

  then doing

                       C:\cmdline < D:\proc\self\cmdline
                       %autoexec%

  would display "This is a test..." on the DOS-Terminal

vgaoff.com

- disable vga option

vgaon.com

- enable vga option

xmode.exe

- set special X parameter when running as xdos

## Drivers

These are useful drivers for Dosemu

cdrom.sys

- allow direct access to CD-ROM drives from Dosemu

ems.sys

- enable EMM in Dosemu

emufs.sys

- redirect Unix directory to Dosemu

aspi.sys

- ASPI conform SCSI driver

fossil.com

- FOSSIL serial driver (TSR)