Moves a file object to another location, and changes its name.

#define INCL_DOSFILEMGR
#include <os2.h>

PSZ       pszOld;  /*  Address of the old path name of the file or subdirectory to be moved. */
PSZ       pszNew;  /*  Address of the new path name of the file or subdirectory. */
APIRET    ulrc;    /*  Return Code. */

ulrc = DosMove(pszOld, pszNew);


[Back] [Next]