Free size of different volume?

Klaus Major klaus at major-k.de
Tue May 29 14:09:09 EDT 2007


Hi Richard,

> The diskSpace function returns the free space of the drive the app  
> is running from.

 From the current volume!

> I have an installer that runs from a CD, and I need to get the  
> avialable size of the destination volume.
>
> Any built-in way to do this, or am I stuck with hunting down shell  
> calls?

...
set the folder to "any folder on or even target volume itself"
put diskspace into its_free
...

works for me :-)

> -- 
>  Richard Gaskin
>  Fourth World Media Corporation
>  ___________________________________________________________
>  Ambassador at FourthWorld.com       http://www.FourthWorld.com

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list