Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. 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
  #1 (permalink)  
Old 02-07-2009, 05:51 AM
Caselogic Caselogic is offline
Junior Member
 
Join Date: Feb 2009
Posts: 1
Default Rename Files

How can I delete a list of strings from a fileName? From a folder containing mp3 files.

List of string to delete : "original,Original,MIX,mix,Mix,_"

Example :

Rename

03-dance-you_have_to_dance__dance_dance Original mix.mp3

To:

03-dance-you have to dance dance dance.mp3

I'm very new at this, how to do the simple operations? "I guess this is one"?

Thanks.

Amy
Reply With Quote
  #2 (permalink)  
Old 02-09-2009, 08:54 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello Amy,

you can use 'String Manipulation' command (available from AA 5.0 version) to extract a part of string into variable.

To replace underscore (_) with a blank, you need to call vb script. We have attached a sample task for your reference. To run this task,
. Please copy .atmn file under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy .vbs file under C:\.

Hope that helps.
Attached Files
File Type: zip StringManipulation.zip (629 Bytes, 9 views)
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 10:15 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved