Rick Harrison wrote:
I was trying to use rename file
on the Server in a .lc script
to rename a file.  It doesn’t
seem to work at all.  Can
someone please let me know
if it works on an LC Server?

It should. Try checking the result immediately after, and if not empty call sysError() for the OS error number, e.g.:

  move file tSrcPath to tDestPath
  if the result is not empty then
     put the result && "(" & sysError() &")"
  end if

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 [email protected]                http://www.FourthWorld.com

_______________________________________________
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

Reply via email to