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
Which function is used in the vbscript language to convert the specified expression into a date type value?
Which constant is used for print and display functions and works as same as pressing enter key?
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
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 ?
How many types of operators are available in the vbscript language?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
What are the data types supported by vbscript?
What are the 2 ways to pass a value to the function?
How will you get the last occurrence of one string within another string using vbscript?
What are the 2 ways in which a variable can be declared in the vbscript language?
Explain about scrrun.dll in vbscript?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
How can you create an object in vbscript?
How are comments handled in the vbscript language?
How to write functions and sub in vb script?