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

Write a program to print all lines that contains a word either “testing” or “qtp”

2 Answers  


write a vb script to display apple that is 1st a should be displayed then ap then app then appl then apple

7 Answers  


Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP

0 Answers   Quest,


when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


how to set one column as primary key in QTP and fetch values accordingly

0 Answers   Ford,






What is difference between vbscript and vba?

0 Answers  


how many types of recording are there?

1 Answers  


How will you get the natural logarithm of the given number in vbscript?

0 Answers  


What is the main difference between function and sub-procedure?

0 Answers  


Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com

1 Answers  


What is string concatenation function in VBScript?

2 Answers  


what is the function to get the ascii value of the character?

6 Answers   Netxcell, Oracle,


Categories