rejetto forum
May 25, 2012, 11:58:09 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: HFS beta 277: always show disk space  (Read 810 times)
0 Members and 2 Guests are viewing this topic.
draconas
Occasional poster
*
Offline Offline

United States United States

Posts: 2


View Profile Email
« on: April 17, 2011, 07:30:58 PM »

Is there something that I can add to the root folder so it'll show the remaining/total disk space of the hard drive on the website?
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #1 on: April 18, 2011, 04:29:48 AM »

yes possible with hfs ver 2.3
you can insert the macro in your template:

{.disk free | A .}

returns available disk space for specified "A" path in bytes.

 For example, to display available disk space for drive C:\ in Gigabytes use :
{.round|{.div| {.disk free|C:\.} | 1073741824.}|2.}

avalaible HFS scripting commands
 here: http://www.rejetto.com/wiki/index.php/HFS:_scripting_commands

Follow members gave a thank to your post:

rejetto

For this post, 1 member gave a thank you!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page Today at 02:21:37 AM