The ibec_RemoveDirectory function can be used to delete directory specified by parameter.
No additional description…
function ibec_RemoveDirectory(DirName : string);
execute IBEBlock
returns (cout varchar(100))
as
begin
if (ibec_RemoveDirectory('C:\Temp\folder')) then
cout = 'Specified directory is removed!';
else
cout = 'Specified directory is NOT removed!';
suspend;
end