4D v16.3CREATE FOLDER |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
CREATE FOLDER
CREATE FOLDER
The CREATE FOLDER command creates a folder according to the pathname you pass in folderPath. If you pass a name in folderPath, the folder is created in the database folder. In folderPath, you can also pass a folder hierarchy starting from the root of the volume or from the database folder (in this case, the string must end with a folder separator). The following example creates the “Archives” folder in the folder of the database: CREATE FOLDER("Archives") The following example creates the Archives folder in the folder of the database, then it creates the “January” and “February” subfolders:
CREATE FOLDER("Archives") The following example creates the “Archives” folder at the root level of the C volume: CREATE FOLDER("C:\\Archives") Creation of the "C:\Archives\2011\January\" folder hierarchy: CREATE FOLDER("C:\\Archives\\2011\\January\\";*) Creation of the "\February\" subfolder in the existing "C:\Archives\" folder: CREATE FOLDER("C:\\Archives\\2011\\February\\Doc.txt";*)
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v6 ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||