Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
@MoveFile Macro
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   DOS.INC
 
  Syntax:    @MoveFile old, new [,[segold] [,segnew]]
 
  Summary:   Moves or renames a file by changing its path specification
 
  Arguments: <old>        Offset of file specification to be renamed.
                          Must be an offset address.
 
             <new>        Offset of new file specification. Must be an
                          offset address.
 
             <segold>     Segment of old name; DS if none given.
 
             <segnew>     Segment of new name; ES if none given.
 
  Returns:   If carry: set, error code in AX
 
  Modifies:  AX, DX, DI; DS, ES if corresponding segments changed
 
  See also:  Int 21h Function 56h
                                    -♦-