DOSRename

Renames a file

Local Servers:blocking
Remote Servers:blocking
NetWare Server:4.1, 5.x, 6.x
Platform:NLM
Service:DOS Partition

Syntax

  #include <nwdos.h>  
  
  int DOSRename {
     const char  *srcName;
     const char  *dstName);
  

Parameters

srcName
(IN) Points to the original path, including the file name.
dstName
(IN) Points to the new path (and name) for the file.

Return Values

0

Success

DOS error code

Failure