SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
DiskGetFreeSpace not returning correct value

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
DiskGetFreeSpace not returning correct value
Author Message
DLUTER



Joined: 16 Mar 2007
Posts: 44
Country: United States

Post DiskGetFreeSpace not returning correct value Reply with quote
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 View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7949

Post Reply with quote
DiskGetFreeSpace is absolete. Please use DiskGetFreeSpaceEx
Tue May 13, 2008 3:32 pm View user's profile Send private message
DLUTER



Joined: 16 Mar 2007
Posts: 44
Country: United States

Post Reply with quote
That did it, thanks. Guess I need to crack the book open on some of these commands.
Tue May 13, 2008 3:55 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
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


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.