Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
del recursively?
#1
For the qm "del" function is there something akin to the dos "/s" switch which would allow me to delete files in all subdirectories without specifying them individually?
#2
This is a simple solution.

Dir d
str sfil="C:\tmp\*";; files to be deleted - you may change it accordingly

foreach(d sfil FE_Dir 4)
,_s=d.FileName(1)
,del _s


Forum Jump:


Users browsing this thread: 1 Guest(s)