files name

Discussion in 'AutoCAD' started by raffi, Jun 23, 2004.

  1. raffi

    raffi Guest

    Hi
    is there anybody to tell me how can i list the files name that
    are in a directory?
     
    raffi, Jun 23, 2004
    #1
  2. raffi

    BillZ Guest

    (vl-directory-files "c:/" "*.*" 1)


    Bill
     
    BillZ, Jun 23, 2004
    #2
  3. raffi

    BTO Guest

    and more,
    sample :
    (setq Liste_Fichiers_triee (acad_strlsort (vl-directory-files
    (acet-ui-pickdir "Sélectionnez le dossier concerné" "C:\\") "*.dwg") ))

    Bruno Toniutti
     
    BTO, Jun 23, 2004
    #3
  4. raffi

    Tim Guest

    Or the dos verision

    DIR *."file extension" or wildcard /S /B /-P > "File name to output to".txt,
    src, etc.

    Tim
     
    Tim, Jun 23, 2004
    #4
  5. Also, DOSLIB command (dos_dir "C:/*.*")

    © 1992-2004 Robert McNeel & Associates. All rights reserved.
    Robert McNeel & Associates
    3670 Woodland Park Avenue North
    Seattle, WA 98103
    Phone: (206) 545-7000
    FAX: (206) 545-7321
    Internet: www.mcneel.com
    Support:
     
    Alan Henderson @ A'cad Solutions, Jun 23, 2004
    #5
  6. raffi

    raffi Guest

    thanks everybody
     
    raffi, Jun 23, 2004
    #6
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.