Function will create a file directory folder.  

 

Use the FileExists function to determine if it folder name already is located where you want it created.

 

Syntax:

iResult = CreateDirectory( directoryName )

 

Parameter:

Description:

directoryName

Create a folder using the name specified.

 

Example:

'  Create a new directory folder named 'MyOrders'
If CreateDirectory( fileManager.DefaultFolder + "MyOrders\" ) THEN
  PRINT "Directory Created"
ELSE
  PRINT "Directory already exists."
ENDIF

 

Returns:

True if the directory was created; False if the directory creation failed.

 

Links:

FileExists, File Manager

See Also:

 

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 234

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software