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

Which function is used in the vbscript language to convert the specified expression into a date type value?

917


Which constant is used for print and display functions and works as same as pressing enter key?

991


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2951


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1914


How many types of operators are available in the vbscript language?

950


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2343


What are the data types supported by vbscript?

1100


What are the 2 ways to pass a value to the function?

943


How will you get the last occurrence of one string within another string using vbscript?

1172


What are the 2 ways in which a variable can be declared in the vbscript language?

1050


Explain about scrrun.dll in vbscript?

1074


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1350


How can you create an object in vbscript?

1064


How are comments handled in the vbscript language?

988


How to write functions and sub in vb script?

1086