DOSCopy

Copies a file from the DOS partition to the NetWare® partition

Local Servers:blocking
Remote Servers:N/A
NetWare Server:3.x, 4.x, 5.x, 6.x
Platform:NLM
Service:DOS Partition

Syntax

  #include <nwdos.h>  
   
  int DOSCopy  (  
     const char  *NetWareFileName,   
     const char  *DOSFileName);
  

Parameters

NetWareFileName
(IN) Points to the name of the file in the NetWare partition (full NetWare paths, including volume names, are allowed).
DOSFileName
(IN) Specifies the name of the file to be copied from the DOS partition (any legal DOS path name is allowed).

Return Values

Decimal

Hex

Constant

0

(0x00)

ESUCCESS

DOSCode

UNSUCCESSFUL

Remarks

If a file with the same name already exists in the NetWare partition, the new file overwrites it.

See Also

DOSPresent