write a script to count no drives in file systems in qtp?



write a script to count no drives in file systems in qtp?..

Answer / sandeep

Set FSO=CreateObject("scripting.filesystemobject")
Set coll=fso.Drives




MsgBox coll.Count

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More VB Script Interview Questions

i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false

0 Answers  


Explain the extension .hta?

0 Answers  


Which keyword is used to declare a variable in the vbscript language?

0 Answers  


regular expression that will recognize a browser as long as its name property starts with mybrowser

0 Answers   Banking,


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

0 Answers  






write a vb script to generate 3*3 matrix

2 Answers  


How can constants be declared in the vbscript language?

0 Answers  


What is vbscript language used for and which earlier language is it modeled upon?

0 Answers  


Is VB Script Case sensitive or Case insensitive?

0 Answers  


how to check whether link is disabled in QTP??

0 Answers  


give me an ex. of unoverloaded method?

2 Answers   Misys,


I want to import the sheet from the Excel to the Datatable using VB Script. I used the Syntax as 'Datatable.ImportSheet "Filename","SourceSheet","Destinat ionSheet" Ex: Datatable.ImportSheet "D:\Data1.xls","Sheet1","Global" Qtp producing run time error,How I can solve the problem

1 Answers  


Categories