NWSetNameSpaceEntryName

Sets the name of a file or directory in the specified name space

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM
Service:Name Space

Syntax

   #include <nwnspace.h>  
    
   int NWSetNameSpaceEntryName  (  
      BYTE   *path,   
      LONG    nameSpace,   
      BYTE   *nameSpaceEntryName); 
   

Parameters

path

(IN) Points to the path of the file system entry to set a name space entry name for.

nameSpace

(IN) Specifies the name space to set the file or directory name for (see Section 20.5, Name Space Flag Values).

nameSpaceEntryName

(IN) Points to an ASCIIZ string that specifies the new file or directory name in the specified name space.

Return Values

ESuccess or NetWare errors

Remarks

This function sets the file system entry’s name in the specified name space only. The naming change is not reflected in the other name space entries.

See Also

NWSetNameSpaceEntryName

Example

See the example for NWGetNameSpaceEntryName.