Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   How to check disk space before build (https://www.kinook.com/Forum/showthread.php?t=944)

name4me 03-08-2005 07:24 PM

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?

kinook 03-08-2005 10:33 PM

1 Attachment(s)
The attached sample demonstrates checking the available free space on drive C and aborting if below some threshold amount.

name4me 03-10-2005 12:35 PM

This helps greatly!! Thanks.

Br.Bill 05-19-2011 04:29 PM

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.

kinook 05-19-2011 04:41 PM

Quote:

Originally Posted by Br.Bill (Post 18888)
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


All times are GMT -5. The time now is 07:24 PM.


Copyright © 1999-2023 Kinook Software, Inc.