To delete some file with AutoLISP

Discussion in 'AutoCAD' started by Kari, Mar 31, 2005.

  1. Kari

    Kari Guest

    Hi,
    I have to do routine, which should to delete accessary files after it has
    (automatically) printed out one by one. But how can I can do this delete
    operation?

    I have tried:

    (command "del" "c:/Folder/DWGName.txt")

    The DOS-window has poped up and it looks, that it works, but it hasn't.

    Kari
     
    Kari, Mar 31, 2005
    #1
  2. (vl-file-delete filename)
     
    Alan Henderson @ A'cad Solutions, Mar 31, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.