Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> schvectorpathset()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SchVectorPathSet()
------------------------------------------------------------------------------
 Purpose:
 Align the DOS PATH variable to the search drive vector.

 Syntax:
 bResult = SchVectorPathSet()

 Parameters:
 None.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 SchVecPthSet()

 Description:
 SchVectorPathSet() aligns the search drive vector table of the NetWare
 shell to the DOS PATH environment variable.

 NetWare tracks search paths on the network via its own list, ( the search
 drive vector ), whereas DOS uses its PATH variable. The vector is simply a
 16 byte table with a list of drive letters on the network that appear in
 the PATH variable. The drive letters on the network should match those in
 the DOS PATH variable. If they do not, strange results can occur when DOS
 attempts to search for files to open.

 Returns TRUE if successful, or FALSE if an error occurs.

 Example:
 // To align the NetWare shell search drive vector so that it
 // matches the DOS PATH variable:
 if ( SchVectorPathSet() )
    ? "Search drive vector aligned to DOS PATH"
 endif

 Notes:
 This is a support function for programmers who understand how the
 NetWare search drive and drive mappings work. It is a harmless function,
 and only necessary if you have been modifying the PATH variable manually
 and need to keep consistency with the search drive vector.

See Also: SchDriveDirMap()

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