LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Folder size

How can you get the size of a folder? I do not want to have to get the
file size one by one and add them. I'm looking for something more like
an active x call of somekind. Or anything that does not go trough all
the files.

thanks


Sent via Deja.com
http://www.deja.com/
0 Kudos
Message 1 of 4
(2,604 Views)
There is a Volume Info vi under Funtions>>File I/O>>Advanced File Funtion in LabVIEW.

it will return the size/used/free values when you enter a path.

good luck

Thanh Vo
0 Kudos
Message 2 of 4
(2,604 Views)
It looks like this VI actually provides the size/used/free of the disk... not the size of the folder.
http://www.medicollector.com
0 Kudos
Message 3 of 4
(2,604 Views)
The following link provides a VI that calculates folder size... but it DOES go through all the files:

http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/a71efad2e3a99fd686256567004de39c/
http://www.medicollector.com
0 Kudos
Message 4 of 4
(2,604 Views)