Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetrmdir()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NNETRMDIR()
 Removes a directory from a volume
------------------------------------------------------------------------------
 Syntax

     NNETRMDIR(<cPath>) --> lSuccess

     Netware: 2.2 and 3.11

 Argument

     <cPath>  Designates an existing directory on a server volume.  The
     path can contain a server name.

 Returns

     NNETRMDIR() returns .T. if the directory has been removed successfully.

 Description

     NOVELL NET REMOVE DIRECTORY
     NNETRMDIR() allows you to remove an existing directory (<cPath>) from a
     server volume.  The volume must not be mapped to a drive.  Under Netware
     2.x, the rights DELETE and PARANTEL are required to remove a directory.
     Under Netware 3.x, the right ERASE for the parent directory of <cPath>
     is required to remove a directory.  A directory can be removed only if
     it is empty and it is not currently mapped on another workstation.

 Note

     .  The default directories on volume SYS: (LOGIN, PUBLIC, MAIL,
        SYSTEM) cannot be removed.

 Example

     Remove the directory VOL1:DATEN from file server ACCOUNT:

     IF NNETRMDIR('ACCOUNT/VOL1:DATEN')
     ? 'Directory has been removed successfully!'
     ELSE
     ? 'Directory could not be removed!'
     ENDIF

See Also: NNETMKDIR() NNETRENDIR()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson