| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > FileSystem Class : DirectoryDeleteDirectory Method |
Type: System.String
Path to the directory.
Type: System.Boolean
true if removingrecursively; otherwise, false.
Type: System.Boolean
true if not removethe directorydoes notbelong tothe startup directory; otherwise, false.
public static void DirectoryDeleteDirectory( string pathToDirectory, bool recursive, bool onlyFromStartupPath )
Type: System.String
Path to the directory.
Type: System.Boolean
true if removingrecursively; otherwise, false.
Type: System.Boolean
true if not removethe directorydoes notbelong tothe startup directory; otherwise, false.
string pathToDirectory = {pathToDirectory}; bool recursive = true; bool startupPath = false; FileSystem.DirectoryDeleteDirectory(pathToDirectory, recursive, startupPath);
$pathToDirectory = {pathToDirectory}; $recursive = true; $startupPath = false; FileSystem::DirectoryDeleteDirectory($pathToDirectory, $recursive, $startupPath);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.