How to copy from one script to another script in qtp

Answer Posted / jyoti

Set obj=CreateObject("Scripting.FileSystemObject")
obj.CopyFile "C:\test.txt", "D:\test.txt"

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to pass argument by reference to a function in vbscript?

760


Explain a few date functions in vbscript

755


how to automatically update the sql server2005 database records when insert in vb6?

1693


Explain about constants in vb script?

775


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

747


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?

710


what is the use of QCUtil? explain with one example?

6647


What is the technology used by vb script?

731


Explain How do you create a recordset object in vbscript?

790


what is event handling?

769


What are the advantages of vbscript?

844


How to Convert Hex color code to color name in VB Script?

4157


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

1819


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

697


Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?

1039