Hi Parke
Thanks for your reply, I am testing a process which generates a file in a 
folder which has many similar files generated in the previous run in  the 
same folder. the file name looks like this 

*ifile-5005-propertytax_20140624*

I want to copy the above file and paste it to another location for this 
file to get processed. The file size and the name varies every time. Hope I 
made it clear. Thanks.

On Monday, June 23, 2014 8:18:36 PM UTC-4, Parke wrote:
>
> Rames:
>
> Is this the only file in the folder?
> Is the file a constant size?
> Does the file always come at  the same time?
>
> We are trying to find something unique about the file.
>
> hth,
>
> Parke
>
>
> On Sat, Jun 7, 2014 at 9:33 AM, Rames kumar <[email protected] 
> <javascript:>> 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] 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Parke
> Cell: 770-842-0121
>  

-- 
-- 
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