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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / mudaseer

the above question is total size of d drive and freespace in d drive

Is This Answer Correct ?    2 Yes 0 No

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

Answer / suman

dim x
set x= createobject("Scripting.FileSystemObject")
x.totalsize("c:/)
msgbox x

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More VB Script Interview Questions

How to open excel in vb script?

0 Answers  


How to write VB Script for selecting a particular row in a WebTable?

1 Answers   Patni,


input values to accept 2 numbers & print the product, difference and sum using switch case

1 Answers   CSC,


What is the use of the date function in the vbscript language?

0 Answers  


Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.

3 Answers   Amazon,


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

0 Answers  


what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?

4 Answers   CybAge,


write a vb script code to display the vbscript word by word (i e 1st it should display v then b and up to t )

1 Answers  


What is the difference between ByRef and ByVal. When to use ByRef and ByVal

5 Answers   Polaris, TCS,


w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............

2 Answers   Cap Gemini, iGate,


What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?

0 Answers  


What are the data types supported by vbscript?

0 Answers  


Categories