
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Book 4-Appendices - <b>nnetrendir()</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
NNETRENDIR()
Renames a directory on a volume
------------------------------------------------------------------------------
Syntax
NNETRENDIR(<cPath>,<cNewDir>) --> lSuccess
Netware: 2.2 and 3.11
Arguments
<cPath> Designates an existing directory on a server volume. The
path can contain a server name.
<cNewDir> Designates the new name for the directory specified by
<cPath>. This character string can contain a maximum of an eight-
character name, a period, and a three-character extension.
Returns
NNETRENDIR() returns .T. if the directory has been renamed successfully.
Description
NOVELL NET RENAME DIRECTORY
NNETRENDIR() allows you to rename an existing directory (<cPath>) on any
server volume. The volume must not be mapped to a drive. Under Netware
2.x, the rights MODIFY and PARANTEL are required to rename a directory.
Under Netware 3.x, the right MODIFY for the parent directory of <cPath>
is required to rename a directory.
Note
. The default directories on volume SYS: (LOGIN, PUBLIC, MAIL,
SYSTEM) cannot be renamed.
Examples
Rename the directory ACCOUNT/VOL1:DATEN/ACT to
ACCOUNT/VOL1:DATEN/BACKUP:
IF NNETRENDIR('ACCOUNT/VOL1:DATEN/ACT','BACKUP')
? 'Directory has been renamed successfully!'
ELSE
? 'Failure during rename!'
ENDIF
See Also: NNETMKDIR() NNETRMDIR()
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson