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: Stripping text / re-naming filenames
Topic Summary:
Created On: 07/04/2018 03:42 PM
Status: Read Only
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.
 07/04/2018 03:42 PM
User is offline View Users Profile Print this message

Author Icon
IanGalwey
n00b (>6 posts)

Posts: 1
Joined: 07/04/2018

Hi,

I need to strip all text or re-name the file to be 860xxxxxxxx.pdf

Examples
BSH Delivery Note for 8600825769.pdf to be 8600825769.pdf
Invoice for 8600825770.pdf to be 8600825770.pdf


Also need to strip the data between the 2 "-" or rename to be 29968AA.pdf and 32623.pdf

Examples (the files will originate in the same directory however the length between the "-" may vary)
syd-29968AA-201611251610.pdf to be 29968AA.pdf
syd-32623-201612151610.pdf to be 32623.pdf

Thanks in advance,
Ian

 Category Survey
AutoMate 10 version: 10.3.0
Windows version: Windows Server 2012 R2
 07/09/2018 09:03 AM
User is offline View Users Profile Print this message

Author Icon
Alex Escalante
HelpSystems

Posts: 871
Joined: 02/26/2014

Hello Ian,

Here is a general example of how to accomplish your request. For this example, please have Microsoft Word open.

Please let us know if it works for you.

 Category Survey



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


-------------------------

Alex Escalante | 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 711 guests browsing this forum, which makes a total of 711 users using this forum.

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

Sitemap Network Automation Software Blog