It seems that this code is not working:
Why not? Do I first have to setup a list of files in that directory, and then walk through that list to delete them one-by-one...? :-(> (delete-file "somedir/*.*")
nil
Regards
Peter
Why not? Do I first have to setup a list of files in that directory, and then walk through that list to delete them one-by-one...? :-(> (delete-file "somedir/*.*")
nil
Code: Select all
(dolist (x (directory temp_dir)) (delete-file (append temp_dir "/" x)))