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 |
I'm new to QTP, i facing a a problem in the script says"Object not found", "Browser("").page("").frame(Name:=fminfo).webtable(). the issue is, QTp is not able to identify the web table in run time.becuase in that fram"fminfo" there are "n"table and the table do not have the names,Html id. 1) i need to count the number webtables available on that page. 2)need to identify the webtable cell values. 3)How Loop the once i get the count and retrive the cell data of each webtable? Can anyone help on this, plz.. Thanks, Suresh
Difference between Function and Sub routine?
What is the main difference between function and sub-procedure?
What is a class in CSS?
generic function for webedit box for web application
what is fire event method in qtp?
write a vbscrpit to swap values
When does ‘on click of button’ event gets triggered in the vbscript language?
Could Anybody tell me VBScript for Check if a given number is Prime number-Don't use any Built- in Functions Boolean/int is Prime(int number).. Thanks in advance.
How will you get a string with the specified character the specified number of times in vbscript?
How you can call vbscript functions?
accept a string & display whether a is present or not