DirDelete using wildcard
Posted: September 27th, 2021, 3:08 am
Hi CSPro Community,
Does the
I'm having trouble deleting folders using the wildcard.
below is my code:
Wishing everyone is having a great day.
Does the
still works on android 11?dirdelete(pathname(Application) + "Backup*")
I'm having trouble deleting folders using the wildcard.
below is my code:
Hope you can help me improve my code.
list string dirListing;
dirlist(dirListing, "/storage/emulated/0/Android/tempcspro/TEMP_RESPONDENT*");
do numeric ctr = 1 while ctr <= dirListing.length()
dirdelete(strip(dirListing(ctr)));
enddo;
Wishing everyone is having a great day.