RmDir: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
(Created new syntax diagram)
Line 1: Line 1:
The '''RmDir''' [[command]] removes a subdirectory. You may also simply use the first 2 letters of the command - '''RM'''. For a complete list of abbreviations, visit the [[Keyword Abbreviation]] page
The '''RmDir''' [[:category:Commands|command]] removes a subdirectory. You may also simply use the first 2 letters of the command - '''RM'''. For a complete list of abbreviations, visit the [[Keyword Abbreviation]] page


==Syntax==
==Syntax==
[[Image:HELP0055.jpg]]
[[Image:RmDirCommand.png]]


==Default==
==Default==

Revision as of 15:45, 15 December 2011

The RmDir command removes a subdirectory. You may also simply use the first 2 letters of the command - RM. For a complete list of abbreviations, visit the Keyword Abbreviation page

Syntax

File:RmDirCommand.png

Default

Use the current default drive and directory.

Parameters

path is the sequence of drive, directory and subdirectories leading to the subdirectory to be removed. Subdirectory indicates the name of the subdirectory to be removed.

Comments and Examples

The subdirectory that you wish to remove must be empty. It can contain no other files or subdirectories. Business Rules does not allow you to delete the current directory.

The following example removes the subdirectory IMPORT from the current directory of the current drive:

RMDIR IMPORT

The next command removes the subdirectory IMPORT from the directory DIR1 on drive A:

RMDIR A:\\DIR1\\IMPORT