TheLazyPig
Programmer
Hi!
How can I delete all files inside a basket folder without deleting the folder itself?
It can also have sub-folders inside the basket folder.
I tried to use ERASE or DELETE FILE but nothing happens.
Thank you in advance!
How can I delete all files inside a basket folder without deleting the folder itself?
It can also have sub-folders inside the basket folder.
I tried to use ERASE or DELETE FILE but nothing happens.
Code:
pcScrPath = pcCurrDir+"\basket\"
ERASE pcScrPath+"*.dbf"
Thank you in advance!