write a Vb script to find a whther a selected drive exits.
Option Explicit
Dim objFso, objFile,iCount,strDrivers
Set objFso = CreateObject("Scripting.FilesystemObject")
MsgBox objFso.Drives.Count
For iCount = 1 To objFso.Drives.Count
strDrivers = strDrivers & vbNewLine &objFso.Drives.Item(iCount).DriveType
Next
MsgBox strDrivers
If objFso.DriveExists("iTunes") Then
MsgBox "Driver is Exists"
Else
MsgBox "Drive is not exists"
End if
| Is This Answer Correct ? | 0 Yes | 0 No |
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
What is the use of the instr function?
What is sql loader? Explain the files used by sql loader to load file?
What is the purpose of the err object in the vbscript language?
give me any information abou vb script books learn quckly
write a vbscript for traffic signal
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
what is the function to get the ascii value of the character?
In what way program "hello world" you can write in vbscript?
Compare java script and vb script?
What are the 2 ways in which a variable can be declared in the vbscript language?
What is vbscript?