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



how to find the textfile in the folder and copy file from one folder to another folder useing para..

Answer / 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

More VB Script Interview Questions

How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

0 Answers  


Explain some uses of vb script?

0 Answers  


How to declare an array in vbscript?

0 Answers  


How can constants be declared in the vbscript language?

0 Answers  


How are comments handled in the vbscript language?

0 Answers  






Write a VB Script to count blank Lines in a notepad

2 Answers   IBM,


How will you get a subset of a array in vbscript?

0 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

0 Answers  


Mention what is byref and byval parameters in vbscript?

0 Answers  


what is the function to display current date?

4 Answers  


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

0 Answers  


Categories