Is there a command to delete a folder\directory with sequential files in it?
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
What about a SYSTEM command "RMDIR /S /Q"
What if the directory contains files other than .TXT files (assuming that is how you have named your sequential files?)
Sometimes you may put your command(s) in a batch file EG: MOVE "CMD.EXE START /Q/C DELETE-SEQ.BAT" TO W-COMMAND; CALL C$SYSTEM USING W-COMMAND. You can then pass the directory name in W-COMMAND and receive it in the batch file as a variable (%1)