Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dosrmdir(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dosdir(1)

dosls(1)

dosrmdir(1)                                                     dosrmdir(1)

NAME
     dosrmdir - delete directories from an MS-DOS floppy disk

SYNOPSIS
     dosrmdir a:dosdir ...

DESCRIPTION
     dosrmdir deletes one or more directories from the MS-DOS file system
     on an MS-DOS floppy disk. Directories must be empty before they can be
     deleted.

     a:
     A:   As in DOS conventions, a: or A: designates the disk drive via
          which the MS-DOS floppy disk is addressed. This string must be
          prepended to each DOS path name. a: or A: addresses the first
          floppy disk drive. If a second drive exists, it may be addressed
          as b: or B:.

     dosdir
          Path name of the directory to be deleted in the MS-DOS file sys-
          tem. The use of wild cards (*, ?, [ ]) is permitted.

LOCALE
     The LCMESSAGES environment variable governs the language in which
     message texts are displayed. If LCMESSAGES is undefined or is defined
     as the null string, it defaults to the value of LANG. If LANG is like-
     wise undefined or null, the system acts as if it were not internation-
     alized.

     The LCALL environment variable governs the entire locale. LCALL
     takes precedence over all the other environment variables which affect
     internationalization.

EXAMPLES
     Example 1

     Delete a single directory.

     The directory "USER" on your MS-DOS floppy disk contains the following
     subdirectories:

     $ dosls a:user
     .
     ..
     JONES
     KHAN

     You want to delete the directory "USER/KHAN":

     $ dosrmdir a:user/khan





Page 1                       Reliant UNIX 5.44                Printed 11/98

dosrmdir(1)                                                     dosrmdir(1)

     Example 2

     Delete a number of directories.

     The directory "USER" contains the entries:

     $ dosdir a:user
     .            <DIR>   476   1-16-86  10:43a
     ..           <DIR>   263   1-16-86  10:43a
     JONES        <DIR>  2745   1-16-86  10:43a
     KHAN         <DIR>   834   1-16-86  11:18a
     LOBER        <DIR>  1476   1-16-86  11:19a
            5 File(s)    ... Bytes free

     The directory "ADDRESS/OTHER" contains the entries:

     $ dosdir a:address/other
     .            <DIR>   273   1-16-86  11:17a
     ..           <DIR>   185   1-16-86  11:17a
     ZIP1         <DIR>   947   1-16-86  12:39p
     ZIP7         <DIR>   204   1-16-86  12:39p
            4 File(s)    ... Bytes free

     You want to delete the subdirectory "LOBER" from the directory "USER",
     and the subdirectory "ZIP1" from the directory "ADDRESS/OTHER". After
     deletion you use the command dosls(1) to display the contents of both
     directories again.

     $ dosrmdir a:user/lober a:address/other/zip1

     $ dosls a:user a:address/other
     /USER:
          .
          ..
          JONES
          KHAN
     /ADDRESS/OTHER:
          .
          ..
          ZIP7

     dosls(1) shows that the directories have been deleted.

SEE ALSO
     dosdir(1), dosls(1).









Page 2                       Reliant UNIX 5.44                Printed 11/98

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