ShellBrowser Delphi Components Documentation
|
Creates a new folder.
class procedure NewFolder(const pFileName: TFileName; pOptions: TOperationOptions = soDefault); overload; static;
Parameters |
Description |
const pFileName: TFileName |
The absolute filename of the new folder. |
pOptions: TOperationOptions = soDefault |
Optional: The options to use. |
Exceptions |
Description |
EArgumentException |
if pFileName is empty or not absolute. |
if parent folder of pFileName is invalid or if any COM exception occured. |
The following example shows how to create a new folder:
TJamFileOperation.NewFolder('C:new folder');