write a vb script to find the size of d drive?
Answers were Sorted based on User's Feedback
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 |
Answer / mudaseer
the above question is total size of d drive and freespace in d drive
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / suman
dim x
set x= createobject("Scripting.FileSystemObject")
x.totalsize("c:/)
msgbox x
| Is This Answer Correct ? | 0 Yes | 1 No |
How to open excel in vb script?
How to write VB Script for selecting a particular row in a WebTable?
input values to accept 2 numbers & print the product, difference and sum using switch case
What is the use of the date function in the vbscript language?
Could Anybody tell me the Script for REVERSE an Interger int reverse(int num) Ex:246 to 642.. Thanks in Advance.
What are the 2 ways to pass a value to the function?
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
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 )
What is the difference between ByRef and ByVal. When to use ByRef and ByVal
w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
What are the data types supported by vbscript?