Specifications

Chapter 21266
JSBool MM_CreateConfigFolder()
Availability
Dreamweaver MX
Description
Creates a folder in the specified location.
If
fileURL specifies a folder below the Dreamweaver MX Configuration folder, the function
creates the folder in the user Configuration folder. If
fileURL does not specify a folder below the
Dreamweaver MX Configuration folder, the function creates the specified folder, including all
higher-level folders in the path if they do not already exist.
Arguments
char *fileURL is a pointer to a file URL string (file://) that names the configuration folder that
you want to create.
Returns
JSBool
Example
char *dwConfig = "file:///c|/Program Files\Macromedia\Dreamweaver
MX\Configuration\Extensions.txt";
MM_CreateConfigFolder(dwConfig);
JSBool MM_RemoveConfigFolder()
Availability
Dreamweaver MX
Description
Removes the folder and its files and subfolders. If the folder is in the Dreamweaver MX
Configuration folder, it masks the folder for deletion in mm_deleted_files.xml.
Arguments
char *fileURL is a pointer to a string that names the folder to remove, which is provided as a file
URL (file://).
Returns
JSBool
Example
char *dwConfig = "file:///c|/Program Files\Macromedia\Dreamweaver
MX\Configuration\Objects";
MM_RemoveConfigFolder(dwConfig);
JSBool MM_DeleteConfigFile()
Availability
Dreamweaver MX
Description
Deletes the file, if it exists. If the file exists in the Dreamweaver MX Configuration folder, the
function masks the file for deletion in mm_deleted_files.xml.