How to get path of the file through scripting?



How to get path of the file through scripting?..

Answer / r.singh

x=PathFinder.Locate("1.txt")

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More VB Script Interview Questions

Is VB Script Case sensitive or Case insensitive?

0 Answers  


How to select a value from a list box by using Selenium web-driver?

2 Answers   HCL,


I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong

1 Answers  


Give examples where vb script can directly run on users system with windows as os?

1 Answers  


write script to open Gmail.com, and to write script for entering username and password and show whether the result as pass or fail

2 Answers   Thomson Reuters,






We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

0 Answers  


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

0 Answers  


compare the string without using stringcomp function?

1 Answers   CSS Corp,


When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

1 Answers  


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

0 Answers  


Inorder to avoid Message box while writing script which alternative method can be used?

1 Answers  


Explain about operator precedence in vb script?

0 Answers  


Categories