Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dosdir(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dosdel

dosread

doswrite

dosdir

PURPOSE

     Lists the directory for DOS files.

SYNOPSIS
     dosdir [ -adeltv ] [ -Ddosdev ] [ file ]


DESCRIPTION

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

     File-naming conventions are those of DOS, with one excep-
     tion.  dosdir  replaces the \ (backslash)  character used
     to  separate components  of  a  DOS path  name  with a  /
     (slash) because the backslash can have special meaning to
     the  AIX  Operating  System.  dosdir  converts  lowercase
     characters  in the  file or  directory name  to uppercase
     before it  checks the disk.   Because all file  names are
     assumed to  be full (not  relative) path names,  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.
     -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 clus-
                   ters allocated to the file.
     -l            Produces a long list that includes the cre-
                   ation 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 modi-
                      fied.
                   S  System - the file  is a system file, and
                      is not included in the normal DOS direc-
                      tory search.
     -t            Lists the entire directory tree starting at
                   the named directory.
     -v            Writes information about  the format of the
                   disk.

RELATED INFORMATION

     The  following   commands:   "dosdel,"    "dosread,"  and
     "doswrite."

     The pcdos  subroutine in  AIX Operating  System Technical
     Reference.

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