public static IScriptCommand DiskDeleteMultiple(string entriesKey, bool notifyChange, IScriptCommand nextCommand = null) { if (notifyChange) { nextCommand = CoreScriptCommands.NotifyEntryChanged(Defines.ChangeType.Deleted, null, entriesKey, nextCommand); } return(ScriptCommands.ForEach(entriesKey, "{CurrentDeleteItem}", CoreScriptCommands.DiskDelete("{CurrentDeleteItem}"), nextCommand)); }