Sub-folder from folder

please
how can i delete
sub-folder from folder
name: ( /HIDE PHOTOS DETA )

please

Assuming this is the name of the parent folder, what are the criteria for the subfolder(s) to be deleted? Or do you want to delete all subfolders of that folder?

delete all sub-folders of that folder
thanks

Try this:

44-pty-fs8
[demo] Delete All Subfolders on a Given Path.kmmacros (3.2 KB)

Replace the example path of the parent folder in the macro (green arrows) with your desired path of the parent folder! You can fill in the path by hand or you can drag the desired parent folder from the Finder into the field of the action.

For safety reasons I have set the file action to “Trash”, not as you wished to “Delete”.

If you really want to delete the subfolders instead of moving them to the Trash, then click the popup menu of the file action and set it to “Delete Dir”:

03-pty-fs8

Deleting can not be undone!