go to post Richard Rayburn · Jul 12, 2019 it looks like only "MEMBER_EXTRACT*" files were touched!DIR MEMBER_EXTRACT* MEMBER_EXTRACT.CSV;2 MEMBER_EXTRACT.CSV;1MEMBER_EXTRACT.DAT;1 MEMBER_EXTRACT.PROC;3MEMBER_EXTRACT.PROC;1 MEMBER_EXTRACT.TXT;3MEMBER_EXTRACT.TXT;2 MEMBER_EXTRACT.TXT;1Total of 8 files.!DIR *......Total of 2932 files.S FILE="MEMBER_EXTRACT.*;*"S ST=##class(%Library.File).ComplexDelete(FILE)W ST1!DIR MEMBER_EXTRACT*MEMBER_EXTRACT.CSV;1 MEMBER_EXTRACT.PROC;1MEMBER_EXTRACT.TXT;2 MEMBER_EXTRACT.TXT;1 Total of 4 files.!DIR *......Total of 2928 files.W 2932-29284
go to post Richard Rayburn · Jul 12, 2019 Hi John,Thanks for looking at this for me.The directory contains thousands of other files. I didn't do a file count on the entire directory before I ran the ComplexDelete("MEMBER_EXTRACT.*;*") call. I'll test your hunch and see if I deleted any files that Ididn't intend to.