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_rmdir()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_rmdir()


Syntax:     b_rmdir(<expC>)

Purpose:    Removes the directory designated by <expC>

Arguments:  <expC> is the DOS directory name

Returns:    A logical value

Note :      The directory cannot be deleted if it is the current
            directory or root directory or if it contains any files
            or subdirectories that have not been deleted.

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_isdir() b_mkdir() b_chdir() b_curdir() b_rights()

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