 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
DLUTER
Joined: 16 Mar 2007 Posts: 44 Country: United States |
|
DiskGetFreeSpace not returning correct value |
|
I'm running version 3.4.31 and the O.S. is Windows Server 2003
Here's the script:
DiskGetFreeSpace( vLoc, vFileSize )
Subtract( vTotalSize, vFileSize, vUsedSize )
Divide( vUsedSize, v100GB, vUsedSize )
Round( vUsedSize, 3, vUsedSize )
ConcatEx( "Files are taking ", vUsedSize, " GB's worth of space on ", vLoc, vLog )
MESSAGEBOX( vLog )
The return value I get for vFileSize isn't correct. Is there a size limitation with this command?
|
|
Tue May 13, 2008 2:58 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
DiskGetFreeSpace is absolete. Please use DiskGetFreeSpaceEx
|
|
Tue May 13, 2008 3:32 pm |
|
 |
DLUTER
Joined: 16 Mar 2007 Posts: 44 Country: United States |
|
|
|
That did it, thanks. Guess I need to crack the book open on some of these commands.
|
|
Tue May 13, 2008 3:55 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|