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
wht must be the interview question on corinthian information technology solutions incorporated.
What's the difference between vbscript and vb.net?
Explain the arrays in vb script?
Which operator is used to concatenate the 2 values in the vbscript language?
how to acces the remote mechine using vb cript(QTP)
When to use function procedures and what are its characteristics?
How will you get a random number between 0 and 1 in vbscript?
Mention the rules for using option explicit statement?
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?
How will you get the last occurrence of one string within another string using vbscript?
why variable name should not exceed 255 characters?
Explain the functionality of vbscript?
Which in-built function is used to format the number in the vbscript language?
How are values assigned to string type and numeric type variables?
how to comvert 120 into one hunderd twenty rupees only and vice varsa