Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This method will only act upon on the lowest level directory.

Example 1

 
Code Block
declare function RTI_OS_Directory
 
// Rename a directory called c:\revsoft\mydir to c:\revsoft\newdir
directory = "c:\revsoft\mydir"
newname = "c:\revsoft\newdir"
successful = RTI_OS_directory( "RENAME", directory, newname )
if not(successful) then
   error = Get_Status(errCodes)
   if error then
      call FsMsg()
   end
end