version 6.0
CREATE FOLDER (folderPath)
Parameter | Type | Description | |
folderPath | String | Pathname to new folder to create |
Description
The CREATE FOLDER command creates a folder according to the pathname you pass in folderPath.
If you pass a name, the folder is created in the folder of the database. If you pass a pathname, it must refer to a valid path up to the name of the folder you want to create, starting at the root level of a volume or at the level of the database folder.
Examples
1. The following example creates the "Archives" folder in the folder of the database:
CREATE FOLDER("Archives")
2. The following example creates the Archives folder in the folder of the database, then it creates the "January" and "February" subfolders:
CREATE FOLDER("Archives") CREATE FOLDER("Archives\\January") CREATE FOLDER("Archives\\February")
3. The following example creates the "Archives" folder at the root level of the C volume:
CREATE FOLDER("C:\\Archives")
4. The following example will fail if there is no "NewStuff" folder at the root level of the C volume:
CREATE FOLDER("C:\\NewStuff\\Pictures") ` WRONG, cannot create two folder levels in one call
See Also