Intelligent Automation & Macro Software  

Go Back   Tethys Solutions Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 03-08-2010, 07:51 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,311
Default

Hello,

Above scenario will not examin every file. The 'copy file' command will copy the files modified in last 30 days into temp folder and then we are looping for each file in temp folder, which contain files modified in 30 days.

Hope this is clear.
Reply With Quote
  #12 (permalink)  
Old 03-08-2010, 02:06 PM
trentonponder trentonponder is offline
Member
 
Join Date: Jan 2009
Posts: 59
Default

Quote:
Originally Posted by forumsupport View Post
Hello,

Above scenario will not examin every file. The 'copy file' command will copy the files modified in last 30 days into temp folder and then we are looping for each file in temp folder, which contain files modified in 30 days.

Hope this is clear.
Yes, but it will first have to loop through all files to determine if its modified within 30 days > copy to a temp folder > then preform action.

Am I missing something here? Is there somehow a method to copy all files modified less then 30 days ago at once?
Reply With Quote
  #13 (permalink)  
Old 03-08-2010, 07:27 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,311
Default

Hello,


We do not need to put 'Copy Files' command inside loop to determine the modified date of each file. It is an independent command. You just have to provide source path (folder) of *.* files, the destination path and from Advanced View select the option, 'Modified in last 30 days' then you are all set. The Copy Files command, in one shot would copy only the files from source path that are modified in 30 days.

Hope this helps.
Reply With Quote
  #14 (permalink)  
Old 03-09-2010, 02:28 PM
trentonponder trentonponder is offline
Member
 
Join Date: Jan 2009
Posts: 59
Default

Thanks, that works perfectly!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved