On-rev Rename quotes work. Vars don't!
harrison at all-auctions.com
Thu Jan 27 20:06:18 CST 2011
Hi Richard & Klaus,
I set the default folder to the correct path
before the rename statement. I've checked it,
and it is correct. I've also tried to fully qualify
the path name for both variables. It still doesn't work.
Someone other than myself should try to reproduce
the error on On-Rev when they get the chance.
For now the work around with the "Do" command is fine.
On Jan 27, 2011, at 5:35 PM, Richard Gaskin wrote:
> On 1/27/11 2:11 PM, Rick Harrison wrote:
>> Hi Richard,
>> The paths are valid.
>> The value of "the result" was "can't rename file"
>> SysError() was "2"
> 2 = "file not found":
> Since you're using short paths, you might try checking that the default folder is what you'd expect it to be.
> Richard Gaskin
> Fourth World
> LiveCode training and consulting: http://www.fourthworld.com
> Webzine for LiveCode developers: http://www.LiveCodeJournal.com
> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
> livecode-dev mailing list
> livecode-dev at lists.runrev.com
More information about the use-livecode