Some expert comment please



I have write my "first" useful program,
i looks in a catalog för files ending on .tmp
and erase them, could make it on 1 line
with batch, but i like to use LISP.

So i came upp with follow
----------------------------------------------------------
(defvar *content* (directory "*.tmp"))

(dolist (file-name *content*)
(delete-file file-name))
----------------------------------------------------------

Any comment ?
Regarding should/should not,
This is better etc.

Tankfull for en expert comment.

.



Relevant Pages

  • Local Settings/Temp folder
    ... Can you just erase all the files/folders in your Local Settings/Temp ... Can you also just erase any files ending in .tmp? ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: How to qustion from PS Elements user
    ... strip/delete/paint the background out of photos I'm preparing for a catalog? ... is it best to erase the background or paint as much as possible ... If your goal is to prepare a job for printing on a professional printing ...
    (alt.graphics.photoshop)
  • Re: remote view
    ... insert into tmp values ... erase "tmp.dbc" ... > issue the REQUERY. ... >> when i pass value in a variable wich is as a parameter in view ...
    (microsoft.public.fox.helpwanted)
  • Re: cant delete a full text catalog
    ... Create a new catalog. ... "Jorge Ribeiro" wrote in message ... > Now I want to erase it and it simply don't let me... ... > i need to erase that useless catalog because it don't work anymore and i ...
    (microsoft.public.sqlserver.fulltext)
  • cant delete a full text catalog
    ... I've defined a full text catalog that indexes several columns from two tables. ... Now I want to erase it and it simply don't let me... ... best regards ... Jorge Ribeiro ...
    (microsoft.public.sqlserver.fulltext)