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 |
What are the valid scopes of a variable in vbscript?
a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program
Which operator is used to concatenate the 2 values in the vbscript language?
how to declare a variable in vbscript using vbscript
Differentiate javascript and vbscript?
Difference between Do while loop and while wend loop
write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple
What is the difference between Javascript & Vbscript?
what is the difference between modular and data and keyword driven framework
Explain about filter expression?
Explain few date functions in vbscript?
How do I check that the names in a weblist are correct e.g in flight application the names of item are Denver, paris,London, etc. How do I ensure the correct item is displayed from the list after doing item count ?