I have used this guide https://winscp.net/eng/docs/custom_commands#delete but it seems to have a bug:
test "!?Do you really want to delete ?no!" == "yes" && rm -rf !&
When i want to delete a file or folder I get this window and I can't delete file/folder.