StripFileServerFromPath

Removes the name of the server from a full path 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>  
    
   char * StripFileServerFromPath  (  
      char   *path,   
      char   *server);
   

Parameters

path

(IN) Points to the string containing the path from which to remove the server name.

server

(OUT) Points to the buffer in which to place the stripped server name (48 character maximum).

Return Values

Returns a pointer to a path specification stripped of the server name.

Remarks

StripFileServerFromPath removes the name of the server from a path specification. If the path parameter does not include a server specification, StripFileServerFromPath returns the original path. If the path parameter does include a server specification, the returned value begins with the volume specification.

See Also

ParsePath