Hi Klaus, I started out using the correct syntax with FILE, and it didn't work on On-Rev.
I've verified that the pathname is correct. rename FILE "xyz" to "zyx" works fine on On-Rev however: put "xyz" into MyOldFileName put "zyx" into MyNewFileName rename FILE MyOldFileName to MyNewFileName does not work on On-Rev. It yields the error: "can't rename file". Try it yourself on On-Rev, and see if you can duplicate the error. Thanks for your help! Rick On Jan 27, 2011, at 2:56 PM, Klaus on-rev wrote: > Hi Rick, > > the correct syntax is: > rename FILE "xyz" to "zyx" > or > rename FOLDER "xyz" to "zyx" > > I have been using this for years in desktop apps withput problems. > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > [email protected] > > _______________________________________________ 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
