why not copy entire folder ( in which files has been generated) since files
name are dynamic not folder in which files resides. ?

Thanks,
Ashish gupta
Gurgaon,Haryana


On Tue, Jun 24, 2014 at 3:55 AM, Rames Kumar Ramalingam <[email protected]
> wrote:

> Hi Nachiket
> Thanks for your reply, I want to copy a particular file only whose name
> changes every iteration. Is it possible to use with RO or TO property.
>
> On Tuesday, June 17, 2014 2:44:42 AM UTC-4, Nachiket K wrote:
>>
>> You can even try
>> fso.CopyFolder Sourcefolder, DestinationFolder, True
>>
>> On Saturday, June 7, 2014 7:03:46 PM UTC+5:30, Rames kumar wrote:
>>>
>>> Hi
>>> I need help in Copying a file(name changes dynamically)  from one
>>> location into another location
>>>
>>> Dim FSO
>>> Set FSO = CreateObject("Scripting.FileSystemObject")
>>> FSO.CopyFile "C:\filename.zip","d:\Testfolder\"
>>> Set FSO=nothing
>>>
>>> I use the above code for copying a file form one location to another.
>>> Now I have a situation where the file name changes each time. Suggest me a
>>> logic.
>>> Thanks in advance.
>>> Rames kumar
>>>
>>  --
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to