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


Syntax:     b_mkdir(<expC>)

Purpose:    Create a DOS directory

Arguments:  <expC> is the DOS directory name

Returns:    A logical value

Note:       Only one directory can be created at a time.  This means that
            all but the last name of the path must specify an existing
            directory.  That is, if the directory to be created is
            "c:\wp\files\lawyer", then "c:\wp\files" must already exist.

Library:    MICROSYS.LIB

----------------------------------- Example ----------------------------------

   if( !b_isdir("z:\bhq\systest\tempfile\tmp_dir") )
       b_mkdir("z:\bhq\systest\tempfile\tmp_dir")
   endi

   tmp_file := b_tempfile("loi","dbf","z:\bhq\systest\tempfile")
   ........
   ........
   b_erase((tmp_file))

   b_rmdir("z:\bhq\systest\tempfile\tmp_dir")

See Also: b_rmdir() b_isdir() b_chdir() b_curdir() b_rights()

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