Odcl_GetFolderSize

(From ODCL_LM file)

<< Click to Display Table of Contents >>

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

Odcl_GetFolderSize

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_GetFolderSize

This function allow you to get a folder size.

First Parameter

Valid Path as a String Value

ex:x "c:\\test"

 

Return Values

Integer representing the space in Bytes.

or Nil if specified Path is not valid.

 

Example:

Delete the specified folder

(Odcl_GetFolderSize "c:\\test")

 

Result:

301443 (Any Numeric Value as integer) representing the space in Bytes.

 

AutoLisp Syntax:

(Setq rValue (Odcl_GetFolderSize Path [as String]))