Network Automation Software
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Copying Files based on creation date
Topic Summary:
Created On: 11/12/2009 10:58 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by JeanDelfosse, on Thursday, November 12, 2009 12:30 PM

Answer:
Mike,
here are the expressions to do so
 11/12/2009 10:58 AM
User is offline View Users Profile Print this message

Author Icon
MikeWooddell
Student (5-19 posts)

Posts: 18
Joined: 11/12/2009

I need some assistance with copying files.  Here's what I am trying to do.  I need a script to run on the 10th of every month that will copy files out of a folder as long as the file was created at any point in the previous month.  I tried using %DateAdd( "m", -1, CStr( Now() ))% but it is just giving everything within the last 30 days.  Any help would be appreciated.

 

Thanks!



 Category Survey
 11/12/2009 12:15 PM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

Answer Answer
Mike,
here are the expressions to do so

 Category Survey
AutoMate 7 version:
Windows version:



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
 11/12/2009 12:30 PM
User is offline View Users Profile Print this message

Author Icon
MikeWooddell
Student (5-19 posts)

Posts: 18
Joined: 11/12/2009

Awsome.  Worked great.  Thanks for the assistance!



 Category Survey
 11/13/2009 12:18 AM
User is offline View Users Profile Print this message

Author Icon
JeanDelfosse
Supreme Guru (1000+)

Posts: 8883
Joined: 03/30/2005

You're welcome, Mike.

 Category Survey
AutoMate 7 version:
Windows version:


-------------------------
Jean Delfosse - Automate Beta Tester
Win7 Pro 64 bits -Win XP Pro SP3 32 bits - AM8, AM7, BPA10, BPA9, BPA8, BPA7, AM6 Enterprise, AM4
 04/17/2016 01:43 AM
User is offline View Users Profile Print this message

Author Icon
PajJose
n00b (>6 posts)

Posts: 1
Joined: 10/12/2015

Dear Jean,

I am new to Automate & am glad that we have you as our Supreme Guru for the support we need for simple to complex queries.

 

Thanks a ton & God Bless!



 Category Survey
AutoMate 7 version:
Windows version:
Statistics
17464 users are registered to the AutoMate Discussion forum.
There are currently 4 users logged in.

FuseTalk Enterprise Edition v4.0 - © 1999-2017 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog