Free size of different volume?
Klaus Major
klaus at major-k.de
Tue May 29 14:37:28 EDT 2007
Hi Richard,
> Klaus Major wrote:
>> 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 :-)
>
> Which OS?
>
> So far readers here have reported that it works well on Windows,
> but on OSX only returns the info for the drive the app is running
> from.
>
> If you have a way to get this working on OS X I'd love to learn how.
Ah, yes, now that you say it...
I tried at work where the app starts on an OS X volume but the
diskspace it retrieved from
the server which is a windows volume
Strange enough!???
> --
> 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