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. Thanks guys! Rick 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": > <http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx> > > 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 > [email protected] > http://lists.runrev.com/mailman/listinfo/livecode-dev _______________________________________________ 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
