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

When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?

3 Answers   Logica CMG, McGraw Hill,


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  


Is vbscript a case-sensitive or case-insensitive?

0 Answers  


How will you reverse a string in vbscript?

0 Answers  


Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance

6 Answers   Amazon,


How to Convert Hex color code to color name in VB Script?

0 Answers  


Which event is triggered when mouse focus comes out of an element in the vbscript language?

0 Answers  


please can you help me to get a code of flames using a visual basic 6

0 Answers  


Anyone have qtp11.0 crack?

0 Answers  


Explain the arrays in vb script?

0 Answers  


What is the difference between Javascript & Vbscript?

2 Answers  


Can anyone send me a vb script function for verifying the functionality of active links on a web page

0 Answers   Zensar,


Categories