Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

RENAME

Changes the name of a specified file
---------------------------------------------------------------------------------

 Syntax

       RENAME <cOldFile> TO <cNewFile>  

 Arguments

        <cOldFile>   Old filename      

        <cNewFile>   New Filename    

 Description

      This command changes the name of <cOldFile> to <cNewFile>.Both
      <cOldFile> and <cNewFile> must include a file extension.This
      command  if not affected by the SET PATH TO or SET DEFAULT TO
      commands;drive  and directoy designaters must be specified if either
      file is in a  directory other then the default drive and directory.

      If <cNewFile> id currently open or if it previously exists, this
      command will not perform the desired operation.

 Examples

      RENAME c:\autoexec.bat to c:\autoexec.old
      

Status

      Ready

 Compliance

      This command is CA-Clipper compatible

 Files

      Library is Rtl



See Also: CURDIR() ERASE FILE() FERASE() FRENAME()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson