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: File Rename
Topic Summary: Not getting expected results when I attempt to rename a file.
Created On: 02/07/2018 01:06 PM
Status: Read Only
Linear : Threading : Single : Branch
 File Rename   - JochenIdeker - 02/07/2018 01:06 PM  
 File Rename   - Ricardo Castaneda - 02/08/2018 03:35 PM  
 File Rename   - JochenIdeker - 02/09/2018 08:00 AM  
 File Rename   - Ricardo Castaneda - 02/12/2018 11:17 AM  
 File Rename   - JochenIdeker - 02/12/2018 11:22 AM  
 File Rename   - Justin Aucoin - 02/14/2018 08:38 AM  
 File Rename   - JochenIdeker - 02/15/2018 08:36 AM  
 File Rename   - Justin Aucoin - 03/12/2018 08:34 AM  
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 02/14/2018 08:38 AM
User is offline View Users Profile Print this message

Author Icon
Justin Aucoin
HelpSystems

Posts: 360
Joined: 02/15/2016

Hi Jochen,

We have identified an issue with the filename actions when using the wildcard as part of the filename. The file will keep the same overall file length, by adding the same number of characters as were removed. This issue will be submitted as a bug and the forum thread will be referenced so that you will be notified once a release is available that addresses the issue.

Below is a workaround that will first check if the file(s) starting with \\automatetest\d$\Inetpub\ftproot\Internal\Medline\RESULT_0001405712*.* exists, and if so populate it a dataset. The dataset will then be looped and a replace text action will be used to remove the desired characters from the file path. The variable will then be used for the file rename action. This method will work for multiple files as well as allowing you to easily schedule the task.

 Category Survey
AutoMate BPA Server 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
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 383 guests browsing this forum, which makes a total of 383 users using this forum.

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

Sitemap Network Automation Software Blog