-- card: 10564 from stack: in.1 -- bmap block id: 0 -- flags: 0000 -- background id: 3468 -- name: -- part contents for background part 1 ----- text ----- This renames a file, keeping it in the same folder (or at the root of the volume). "filename" is a full pathname, and "newName" is a replacement for the last component of that path. ---- example: put RenameFile("HD:Telecom:capture","session") into err This will produce a file called "HD:Telecom:session" if it succeeds. A value of 0 is returned on success, a negative number for an Operating System error, and 1 for a parameter error. Error Codes: > 0 "Parameter error with function" -59 "Problem during rename" -54 "Attempt to open locked file for writing" -46 "Volume locked by software" -45 "File locked" -44 "Volume locked by hardware" -43 "File not found" -37 "Bad volume or file name" -36 "I/O error" -35 "No such volume" -34 "Disk is full" -49 "File already open for writing" -- part contents for background part 9 ----- text ----- XFCN -- part contents for background part 2 ----- text ----- RenameFile -- part contents for background part 4 ----- text ----- RenameFile(,) -- part contents for background part 8 ----- text ----- Dewi Williams