Hi again, The following works:
rename "imac27.jpg" "imac2012.jpg" what's below doesn't work: put "imac27.jpg" into NameOfOldFile put "imac2012.jpg" into NameOfNewFile rename NameOfOldFile NameOfNewFile also this doesn't work: put "imac27.jpg" into NameOfOldFile put "imac2012.jpg" into NameOfNewFile put quote & NameOfOldFile & quote into NameOfOldFile put quote & NameOfNewFile & quote into NameOfNewFile rename NameOfOldFile NameOfNewFile Unfortunately, I need to be able to use variables as I have a large number of files I will be renaming, so the simple quotes solution will not work for me. Ideas? Thanks, Rick _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
