Page 1 of 1

Change File Names in Folders

Posted: Sun Apr 29, 2018 7:53 pm
by trailboss
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

Re: Change File Names in Folders

Posted: Sun Apr 29, 2018 8:04 pm
by Klaus
Hi Tom,

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


Best

Klaus

Re: Change File Names in Folders

Posted: Sun Apr 29, 2018 10:14 pm
by trailboss
Thank you. That works!