razdaz
6th October 2003 23:16 UTC
Delete recursively - Run an executable
Hello,
I would like to delete the entire contents of a directory including all sub-directories and files. Is there a way to do this without specifying each diretory?
Is there a way to run an executable file?
Thanks...Scott
kichik
6th October 2003 23:25 UTC
Use RMDir /r for recursive deletion. Use Exec, ExecWait, ExecShell or nsExec to execute an exectuable file (last one is a plug-in).
razdaz
7th October 2003 15:41 UTC
I tried the RMDir /r and it does recursivly delete directories if there are no files in the directories, but not if there are files in them. Is there a command to delete files recursively as well?
I'll search around for info on the other commands.
Thanks...Scott
Joost Verburg
7th October 2003 15:56 UTC
RMDir /r does delete all files.
razdaz
7th October 2003 17:19 UTC
I'm not sure why this didn't work the first time but you are right, now it is working. Thank you both for your help!!!