How can I find out how much free disk space is available for my application?

asked 12 Sep '11, 08:30

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%


You can view the free disk space available for your application using a <getFreeDiskSpace> action. This action will retrieve the amount of disk space available on the drive partition holding a particular directory. The directory is specified in the 'path' argument and the value (in Kb) will be stored in the variable specified by 'variable'. For example:

<getFreeDiskSpace>
 <variable>diskspace</variable>
 <path>${installdir}</path>
</getFreeDiskSpace>
link

answered 12 Sep '11, 08:32

Jake's gravatar image

Jake ♦♦
796222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×5
×4

Asked: 12 Sep '11, 08:30

Seen: 2,042 times

Last updated: 12 Sep '11, 08:32