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 08-17-2011, 02:12 PM
KenRyan KenRyan is offline
Member
 
Join Date: Jan 2009
Posts: 37
Default How To Copy File Names From Files In a Folder?

How can I copy all the file names from files in a folder to the clipboard? I thought this was pretty easy but suddenly I can't remember how.

I have AA 5.5 Standard.

Thanks.

Ken
Reply With Quote
  #2 (permalink)  
Old 08-17-2011, 04:34 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

use the loop for every file in a folder
then inside the loop,
append the filname variable and extension variable to the end of the clipboard
Reply With Quote
  #3 (permalink)  
Old 08-19-2011, 12:08 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello KenRyan,

Exactly the way in which philkryder has explained, you have to use the "Loop" command with "every file in a folder" option and within the loop you will have to perform variable operation.

Following is the text of the task in which we are saving the filename.extension of all the files in a particular folder in the clipboard.

For Example:

1 Clear Clipboard
2 Start Loop " Each File in D:\downloads\VIDEO SONGS\ENGLISH SONGS"
3 Variable Operation : $Clipboard$======$FileName$.$Extension$ To $Clipboard$
4 End Loop
5 Message Box: "$Clipboard$"

Thanks & Regards
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 03:34 PM.


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