DeleteFolderPeriod
Use DeleteFolderPeriod to delete a period for a specific directory. To delete the period for a single database use DeleteFilePeriod. If you have set a period for a single database DeleteFolderPeriod will not delete it.
Compatibility
Available as of IDEA version 9.2
Syntax
DeleteFolderPeriod(folderName as Sting)
Parameter
folderName
The name of the folder. Null is equivalent to string. Empty.
Remark
The folder names may be absolute as well as relative to working folder. An empty folder name (null or "") designates the current project's root folder.
Examples
Sub Main
Dim s As String
Dim SimpleCommands As Object
Set mc = SmartContext.MacroCommands
Set SimpleCommands = mc.SimpleCommands
Simple Commands.DeleteFolderPeriod Nothing 'Delete period for the current project's root folder
SimpleCommands.DeleteFolderPeriod "MySubfolder" 'Delete period for Subfolder MySubfolder
Set SimpleCommands = Nothing
End Sub