home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Win32 Under the API
/
ProgrammingWin32UnderTheApiPatVillani.iso
/
Chapter5
/
5-4
/
CopyFile.c
Wrap
C/C++ Source or Header
|
2000-07-14
|
207b
|
16 lines
#include <windows.h>
BOOL main(INT argc, BYTE *argv[])
{
if(argc != 3)
{
printf("syntax: copy <source> <destination>\n");
return 1;
}
return !CopyFile(argv[1], argv[2], FALSE);
}