Category : OS/2 Files
Archive   : PMBOOT.ZIP
Filename : KOPY.C

 
Output of file : KOPY.C contained in archive : PMBOOT.ZIP
#define INCL_NOCOMMON
#define INCL_DOSFILEMGR
#include
#include

int _cdecl main (int argc,char *argv[]) {
if (argc==3) {
USHORT rc = DosCopy(argv[1],argv[2],DCPY_EXISTING,0);

if (rc) {
printf("DosCopy(\"%s\",\"%s\",DCPY_EXISTING,0): failed with error code %d\n",argv[1],argv[2],rc);
} /* endif */
} else {
printf("Usage: %s \n",argv[0]);
} /* endif */
return 0;
}


  3 Responses to “Category : OS/2 Files
Archive   : PMBOOT.ZIP
Filename : KOPY.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/