Liberty BASIC Help Online

MKDIR( )
 
Description:
The MKDIR( ) function attempts to create the directory specified.  If the directory creation is successful the returned value is 0.  If the directory creation was unsuccessful, a value indicating a DOS error is returned.
 
Usage:
 
    'create a subdirectory named temp in the current directory
    result = mkdir( "temp")
    if result <> 0 then notice "Temporary directory not created!"
 
Note: See also RMDIR( )
 


Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/