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



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 many types of procedures are available in the vbscript language?

0 Answers  


How to write functions and sub in vb script?

0 Answers  


What is a difference between scripting language and programming language?

2 Answers  


What if you do not specify anything when you call a procedure?

0 Answers  


Could Anybody tell me the VBscript for REVERSE an Integer int reverse(int num) Ex:246 to 642

7 Answers   Amazon,


Mention what is the main difference between function and sub-procedure?

0 Answers  


accept a string & display whether a is present or not

1 Answers  


how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

3 Answers   TCS,


why do u choose to go for testing why cant for devoloping

0 Answers  


How to copy from one script to another script in qtp

4 Answers  


How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.

2 Answers   Cognizant,


who will create the object?

0 Answers   TCS,


Categories