Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-08-2005, 07:24 PM
name4me name4me is online now
Registered User
 
Join Date: 03-08-2005
Posts: 2
How to check disk space before build

I need to make sure I have enough disk space before running the build. Can this be automated by VBP 5.0?
Reply With Quote
  #2  
Old 03-08-2005, 10:33 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
The attached sample demonstrates checking the available free space on drive C and aborting if below some threshold amount.
Attached Files
File Type: bld freespace.bld (575 Bytes, 1136 views)
Reply With Quote
  #3  
Old 03-10-2005, 12:35 PM
name4me name4me is online now
Registered User
 
Join Date: 03-08-2005
Posts: 2
Thumbs up

This helps greatly!! Thanks.
Reply With Quote
  #4  
Old 05-19-2011, 04:29 PM
Br.Bill Br.Bill is online now
Registered User
 
Join Date: 05-19-2011
Posts: 1
Question

This depends on the following object method:

freeSpace = vbld_FS0.GetDrive("C").FreeSpace

This seems to work fine.

Where is this vbld_FS0 object documented?

What other methods does it have?

How can I do the same for a file share (\\host\sharename) ?

Thanks.
Reply With Quote
  #5  
Old 05-19-2011, 04:41 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,013
Quote:
Originally Posted by Br.Bill View Post
This depends on the following object method:

freeSpace = vbld_FS0.GetDrive("C").FreeSpace

This seems to work fine.

Where is this vbld_FS0 object documented?[/I]
http://www.kinook.com/VisBuildPro/Ma...scriptfile.htm

Quote:
What other methods does it have?
http://msdn.microsoft.com/en-us/libr...8VS.60%29.aspx

Quote:
How can I do the same for a file share (\\host\sharename) ?
Some possibilities: http://www.google.com/search?q=vbscr...+network+share
Reply With Quote
Reply


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 Off
HTML code is Off



All times are GMT -5. The time now is 01:54 AM.


Copyright © 1999-2023 Kinook Software, Inc.