Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a vb script to find the size of d drive?

Answer Posted / mudaseer

dim vfso,vdr
vdr="d:\"
set vfso=createobject("scripting.filesystemobject")
set vdr=vfso.getdrive(vdr)
msgbox vdr.totalsize/(1024*1024*1024)
msgbox vdr.freespace/(1024*1024*1024)

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are 5 web pages.write a script to click the button on 4th web page.

3475


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1933


What are class properties?

1226


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

2187


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

2001


How to Import data from a file (file is on the desktop) to the data table

2127


What are the valid scopes of a variable in vbscript?

1150


Mention how to create a cookie using vbscript?

1069


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1164


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1770


How can you destroy an object in vbscript?

1166


how to set one column as primary key in QTP and fetch values accordingly

2361


How will you get the largest subscript of an array in vbscript?

1222


How to throw an error in vbscript?

1200


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2512