Change File Names in Folders

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
trailboss
Posts: 121
Joined: Sat Dec 13, 2008 4:55 pm

Change File Names in Folders

Post by trailboss » Sun Apr 29, 2018 7:53 pm

Is there a way I can get LiveCode to not only display file names from folders as I do, but also to change the actual names of files within a folder?

I have a list of files like this that is quite long:

8925277_orig.jpg
2380696_orig.jpg
3075177_orig.jpg
982577_orig.jpg

The numbers are not helpful to me and I would like to change them to, say, this:

picture1.jpg
picture2.jpg
picture3.jpg
picture4.jpg

That would seem to be something that would be doing system work, and I don't know what to do.

Thanks in advance,

Tom

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Change File Names in Folders

Post by Klaus » Sun Apr 29, 2018 8:04 pm

Hi Tom,

check the "rename" command in the dictionary!
If that is what you are looking for.


Best

Klaus

trailboss
Posts: 121
Joined: Sat Dec 13, 2008 4:55 pm

Re: Change File Names in Folders

Post by trailboss » Sun Apr 29, 2018 10:14 pm

Thank you. That works!

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”