Have anybody noticed, that command "vl-file-delete" works not so well? I want to delete accessary txt-file from hard drive after dwg-file is printed out, but that accessary file don't disappear. I had to do While-loop and now it works. If I add a counter to the loop, the counter runs about 1000-2000 times until txt-file has disappear. Okay, of course it depends the power of the computer (mine is Pentium 2,8 GHz), but still I wonder, why the file doesn't disappear at first try. Is this problem in Windows? Kari (defun DeleteFile ( / ) (vl-load-com) (setq loop 1) (while loop (if (findfile PathAndFileName) (vl-file-delete PathAndFileName) (setq loop nil) ) ) )