| ZennoLab.Macros Assembly > ZennoLab.Macros Namespace > FileSystem Class : DirectoryDeleteFileByMask Method |
Type: System.String
Path to the directory.
Type: System.String
Mask for remove files .
public static void DirectoryDeleteFileByMask( string pathToDirectory, string pattern )
Type: System.String
Path to the directory.
Type: System.String
Mask for remove files .
string pathToDirectory = {pathToDirectory}; string pattern = {maskToRemoveFiles}; FileSystem.DirectoryDeleteFileByMask(pathToDirectory, pattern);
$pathToDirectory = {pathToDirectory}; $pattern = {maskToRemoveFiles}; FileSystem::DirectoryDeleteFileByMask($pathToDirectory, $pattern);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.