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. A full path is permissable with this function. If no path designation is included, the new directory is created as a sub directory of the DefaultDir$.

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( )