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

What is the difference between a dictionary and an array?

583


Mention what is the difference between vbscript and vba?

524


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

627


Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?

553


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

1590






how does vb script help in web page designing? explain with example.

1590


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

6326


about vb scripting programs this type of all question& answers

1697


What are subprocedures in vbscript?

666


hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz

2588


if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.

1444


What is the difference between function and procedure?

579


wht must be the interview question on corinthian information technology solutions incorporated.

2188


Explain the .wsf files?

533


who will create the object?

1724