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

Please Example programms on vbscript 1)writing functions and calling functions

2 Answers   CIL, TCS,


HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?

1 Answers   TCS,


How will you convert a string to upper case string using vbscript?

0 Answers  


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

0 Answers  


how to store charecters of HARIBABU Using arrays

4 Answers   Cap Gemini,


What is the use of the formatdatetime function in the vbscript language?

0 Answers  


Explain the extension .hta?

0 Answers  


How to load vbs functions in qtp

2 Answers  


Explain a few date functions in vbscript

0 Answers  


sunday is sunday monday tuesday wendesday sunday thursday friday saturday sunday sunday how to count no of sunday in the text file from vb? Answer me asap

4 Answers  


How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?

1 Answers  


What is the difference between VBScript and JavaScript?

0 Answers  


Categories