ConvertNameToFullPath

Converts a path to an absolute path specification that includes a volume specification

Local Servers:nonblocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:Path and Drive

Syntax

   #include <stdlib.h>  
   #include <nwdir.h>  
    
   int  ConvertNameToFullPath  (  
      char   *partialPath,   
      char   *fullPath);
   

Parameters

partialPath

(IN) Points to a string containing the partial path that is to be converted to a complete path.

fullPath

(OUT) Points to the buffer where the complete path is to be returned (maximum 255 characters).

Return Values

0 (0x00)

ESUCCESS: Only fails if the partialPath parameter is not valid.

22 (0x16)

EBADHNDL

Remarks

ConvertNameToFullPath accepts a file name, or any relative or absolute path, and returns the absolute path (including a volume specification).

Call ConvertNameToFullPath when a user is entering a file name (which may or may not be entered as a full path specification) and you want a full path specification to open the file.

ConvertNameToFullPath uses ParsePath to construct the fullPath parameter string.

See Also

ConvertNameToVolumePath, ParsePath