directory search

Discussion in 'AutoCAD' started by martin, Sep 17, 2003.

  1. martin

    martin Guest

    i have a folder called BL, using (dos_search) it is possible to find it in
    the current directory but not if it resides within a sub-folder, is there a
    way to find it no matter how "deep" that folder is.
    martin
     
    martin, Sep 17, 2003
    #1
  2. martin

    BillZ Guest

    Look at dos_subdir.
    (dos_subdir "c:\\") will return only the folders under "c:".
    (dos_subdir "c:\\temp\\nextdir\\") will return only folders under "nextdir" ect.

    Bill
     
    BillZ, Sep 17, 2003
    #2
  3. martin

    Dale Fugier Guest

    Hi Martin,

    The DOS_FIND function found in DOSLib 6 will recurse folders.
     
    Dale Fugier, Sep 17, 2003
    #3
  4. martin

    martin Guest

    i've tried it, it will find nested files, but not nested folders, only those
    in the current directory.
    martin
     
    martin, Sep 17, 2003
    #4
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.