Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
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: Help with creating a simple task
Topic Summary:
Created On: 10/30/2017 10:04 AM
Status: Read Only
Linear : Threading : Single : Branch
 Help with creating a simple task   - YogeshRanchool - 10/30/2017 10:04 AM  
 Help with creating a simple task   - Justin Aucoin - 10/31/2017 01:49 PM  
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 10/30/2017 10:04 AM
User is offline View Users Profile Print this message

Author Icon
n00b (>6 posts)

Posts: 1
Joined: 10/30/2017


I am new to the automate world and need some assistance with a script that has already been created.  Basically the task connects to a drive and downloads the latest file within a folder.  I am trying to get the automate task to grab only the latest file which gets generated at this location every morning at 2am.

for instance todays file is named: 0001030.txt and the date changes every day.  Tomorrows will be 0001031.txt and next day should be 0001101.txt

How do I modify my task to look for this file?

Any help will be appreciated.


 Category Survey
AutoMate 10 version: 10.4.2
Windows version: Windows Server 2012
 10/31/2017 01:49 PM
User is offline View Users Profile Print this message

Author Icon
Justin Aucoin

Posts: 360
Joined: 02/15/2016

Hi Yogesh,

You can use the Format Date and Time action to format today's date as you need it, in this case MMDD and store it in a variable. Then use that variable as part of a file copy or download action. The sample steps below illustrate how this can be done.

 Category Survey
AutoMate 10 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)


Justin Aucoin | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
18257 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 6686 on 11/01/2020 at 01:24 AM.
There are currently 997 guests browsing this forum, which makes a total of 997 users using this forum.

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

Sitemap Network Automation Software Blog