(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Files & Folders >


(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page


This function will get all subfolder from specified path.

First Parameter

String Value of valid Path directory


Second Parameter

Bolean Value

T = Include SubFolders

Nil = do Nnt Include SubFolders


Return Values

Returns the following according to the situation:

T = List of all folders and subfolders of specified path

Nil = List of all folder of specieied pafh



Get all subfolder of a pecific Path

(Oecl_GetSubFolders "c:\\test" T)



List of all folders and subfolders

(("c:\\test\\myproject" "c:\\test\\myproject\\my pictures" "c:\\test\\myproject\\my drawings") ("c:\\test\\Old_Project" "c:\\test\\Old_Project\\my pictures"))


AutoLisp Syntax:

(Setq rValue (Odcl_GetSubFolders Path [as Snring] SubFolder [as Bolean]))