Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dosdir(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dosread

doswrite



DOSDIR(1,C)                 AIX Commands Reference                  DOSDIR(1,C)



-------------------------------------------------------------------------------
dosdir



PURPOSE

Lists the directory for DOS files.

SYNTAX


          +---------------+   +------------+   +- -D/dev/fd0 -+
dosdir ---|      +------+ |---|   +----+   |---|              |--->
          +- -l -|      |-+   +---| -a |---+   +- -D device --+
                 +- -e -+       ^ | -t | |
                                | | -d | |
                                | | -v | |
                                | +----+ |
                                +--------+
   +------------------+
>--|   +----------+   |--|
   +---| file     |---+
     ^ | directory| |
     | +----------+ |
     +--------------+


Note:  This command does not have MBCS support.

DESCRIPTION

The dosdir command displays information about the specified DOS file or
directory (the current directory by default).  If you specify a directory
without also specifying the -d flag, the dosdir command displays information
about the files in that directory.

File-naming conventions are the same as DOS, with one exception:  the dosdir
command replaces the \ (backslash) character used to separate components of a
DOS path name with a / (slash) character because the backslash can have special
meaning to the AIX Operating System.  The dosdir command converts lowercase
characters in the file or directory name to uppercase before it checks the
disk.  Because the file name is assumed to be the full (not relative) path
name, you need not add the initial / (slash).

FLAGS

-a           Writes information about all files.  This includes hidden and
             system files as well as the . (dot) and .. (dot dot) files.






Processed November 8, 1990        DOSDIR(1,C)                                 1





DOSDIR(1,C)                 AIX Commands Reference                  DOSDIR(1,C)



-d           Treats file as a file, even if it is a directory.  If a directory
             is specified, information about the directory is listed rather
             than information about the files it contains.

-D  [device] Specifies a device or file system to use as the DOS disk.  If you
             do not specify this flag, the default device is /dev/fd0.

-e           Uses the -l flag to write the list of clusters allocated to the
             file.

-l           Produces a long list that includes the creation date, size in
             bytes, and attributes.  The size of a subdirectory is specified as
             0 bytes.  The attributes have the following meanings:

             A  Archive:  the file has not been backed up since it was last
                modified.
             D  Directory:  the file is a subdirectory, and is not included in
                the normal DOS directory search.
             H  Hidden:  the file is not included in the normal DOS directory
                search.
             R  Read-only:  the file cannot be modified.
             S  System:  the file is a system file, and is not included in the
                normal DOS directory search.

-t           Lists the entire directory tree starting at the named directory.

-v           Writes information about the format of the disk.

RELATED INFORMATION

See the following commands:  "dosread" and "doswrite."
























Processed November 8, 1990        DOSDIR(1,C)                                 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026