create a self copying exe which will copy itself to any new flash drive inserted

hello people

can u plz help in this matter?

i want to create a self copying exe which will copy itself to any new flash drive inserted

for drive detect its

DWORD WINAPI GetLogicalDrives(void);

but can u use this line and make a program for me here? i am confused and new,

i also know

BOOL WINAPI CopyFile(
__in LPCTSTR lpExistingFileName,
__in LPCTSTR lpNewFileName,
__in BOOL bFailIfExists
);

but this needs to be in a program, i cant do it, plz help
You want help writing a virus????

You are confused...

Yeah, I just thought of that when I read the topic title.
Topic archived. No new replies allowed.