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> mkdir / md</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 MKDIR / MD
------------------------------------------------------------------------------
 Purpose:
 Emulate the DOS MKDIR | MD commands.

 Syntax:
 MKDIR | MD < directory path >

 Parameters:
 directory path The full NetWare directory path.

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

 Description:
 MKDIR and MD both emulate the DOS commands MKDIR and MD. These functions
 use the correct call to NetWare to create a network directory and will
 only work on network drives and directories. <directory path> must be the
 full NetWare path of the directory, including the volume name.

 Example:
 // To create a new directory called SYS:HOME\IAN:

 #include "novlib.ch"
 MD SYS:HOME\IAN
 if ( NWErrorGet() = 0 )
    ? "The new directory SYS:HOME\IAN was "
    ?? "created successfully"
 endif

 // To perform the same operation using variables:

 #include "novlib.ch"
 DirStr = "SYS:HOME\IAN"
 MD &DirStr
 if ( NWErrorGet() = 0 )
    ? "The new directory SYS:HOME\IAN was created ".
 endif

 Notes:
 Appropriate trustee access rights are required to use this
 function.

See Also: FSDirAdd() FSDirDelete() DirNameChange() RENDIR RMDIR / RD

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