Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_mkdir()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_MKDIR()


Syntax:        L_MKDIR(<expC>)


Purpose:       To create a subdirectory using the specified drive and
               path.


Arguments:     <expC> is the pathname of the subdirectory to create.


Returns:       An integer value.

               -1 = Syntax Error.
                0 = Successful creation of directory.
                3 = Path not found (Dos error code).
                5 = Access Denied.


Usage:         Use of this function assumes knowledge of your
               operating system.


Examples:      * Try to create a sub-directory for backup
               status = L_MKDIR("C:\DATA\BACKUP")
               IF status <> 0
                  @ 10,10 say "Unable to create subdirectory!"
                  wait
               ENDIF


Language:      Assembler

See Also: L_CHDIR() L_RMDIR()

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