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> map</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MAP
------------------------------------------------------------------------------
 Purpose:
 Emulate the Novell MAP.EXE command line utility.

 Syntax:
 MAP < see NetWare manual for list of arguments>

 Parameters:
 See NetWare manual for list.

 Returns:
 None.
 NWErrorGet() returns non-zero if an error occurs.

 Description:
 MAP is a CA-Clipper 5.x UDC to emulate the NetWare MAP.EXE command line
 utility. MAP can be used to map drives and search drives, as well as
 delete them. MAP can be used just as you would use MAP.EXE at the DOS
 prompt.

 Example:
 // Some typical uses of MAP:

 #include "novlib.ch"
 MAP H:=SYS:DATA
 MAP S1:=SYS:PUBLIC
 MAP ROOT G:=SYS:PUBLIC\MSDOS
 MAP DEL J:

 // To perform the same operation using variables

 #include "novlib.ch"
 DriveStr = "H:"
 DirStr = "SYS:DATA"
 MAP &DriveStr = &DirStr
 DriveStr = "G:"
 DirStr = "SYS:PUBLIC\MSDOS"
 MAP ROOT &DriveStr = &DirStr
 DriveStr = "J:"
 MAP DEL &DriveStr

 Notes:
 For information on how to use MAP, see MAP.EXE in the NetWare
 reference manuals.

 NOVLIB50.PRG needs to be compiled and linked to your program.

See Also: DrvDirMap() DrvMapDelete() SchDriveDirMap() DrvRootMap()

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