Technical article 105174

dosdir(C) does not list all files on a DOS partition.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

When listing contents of a DOS directory on my DOS partition
using dosdir(C), only part of the files get listed.  For example,
I execute the command:
dosdir c:/dos/*

The response lists only 32 of the 129 files.

Cause

This is a known problem in the dosdir(C) code and has been reported to SCO Engineering.

Solution

As a workaround, mount the DOS partition and use the standard
UNIX ls(C) command.  If available you can use dosdir(C) from an
earlier release of the SCO UNIX System V/386 Release 3.2.

From the Xinuos technical article database, record 105174. Reproduced with permission. The original is at www.sco.com/ta/105174, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.