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

By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

0 Answers  


Which operator is used to concatenate the 2 values in the vbscript language?

0 Answers  


Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page

1 Answers   CybAge,


Can u describe what kind of testing are for OTC derivates by banks.

0 Answers   BoA,


can u test the application without add-in?

1 Answers  






How to Import data from a file (file is on the desktop) to the data table

0 Answers   IBM,


Explain a few date functions in vbscript

0 Answers  


How can you create a file object to work with the files in the vbscript language?

0 Answers  


How can you fetch the value of a cookie?

0 Answers  


How to capture a runtime error in vbscript?

0 Answers  


How to get the background color of a weblist?

3 Answers   Accenture,


give me any information abou vb script books learn quckly

0 Answers  


Categories