SetupBuilder Community  

Go Back   SetupBuilder Community > SetupBuilder Software Installation System > SetupBuilder - NNTP

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 08-20-2012, 06:45 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,144
Default Re: Get System Info(Total Disk Space)

Bonjour Fredrich,

For info (I know .... <g>) vuFileTools has such a function Markus could
call from a clarion dll
__________________________________________________ _____
vuDiskSpace(Drive)
This function will return the actual size of a disk, in bytes. Any
size disk can be measured with no ‘2 Gigabyte limit’ that was imposed
on older systems.

Calling Parameters

Drive Cstring(2)

Calling Parameters Values

Drive = ‘C’

Returns

A null terminated string containing the size of the drive (does not
have a 2G limit)

Example

LOC:Size Real

LOCrive = ‘C’

LOC:Size = vuDiskSpace(LOCrive)

(My C Drive returned 80,023,715,840)

Message(‘C Drive is ‘ & vuDiskSpace(LOCisk) & ‘ bytes’)

NOTE: This function requires Windows 98 or higher

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004-2012 Lindersoft