Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find the textfile in the folder and copy file from one
folder to another folder useing parameterigation in QTP

Answer Posted / b.hari babu

Function Replacinfile(SourceFile,Destination File)
Set Fso=CreateObject("Scripting .FilesystemObject")
If Fso.Exisit(SourceFile) Then
Fso.CopyFile(SourceFile,Destination File)
End If
End Function
Call Replacinfile(Sourc Filepath,Destination Filepath)
SourceFile=Sourc Filepath
Destination File=Destination Filepath

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

wht must be the interview question on corinthian information technology solutions incorporated.

2568


What's the difference between vbscript and vb.net?

1032


Explain the arrays in vb script?

1001


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

961


how to acces the remote mechine using vb cript(QTP)

1967


When to use function procedures and what are its characteristics?

1028


How will you get a random number between 0 and 1 in vbscript?

1226


Mention the rules for using option explicit statement?

925


What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?

941


How will you get the last occurrence of one string within another string using vbscript?

1122


why variable name should not exceed 255 characters?

2167


Explain the functionality of vbscript?

881


Which in-built function is used to format the number in the vbscript language?

949


How are values assigned to string type and numeric type variables?

941


how to comvert 120 into one hunderd twenty rupees only and vice varsa

2276