Do anyone know how to Delete and Copy a file from one place to another in Pure ASM while in Windows environment. It can be at Dos level through a batch file and any other way...(It would help to know how to do it in an batch file)

The file is never larger than 2 MB....So If it's 16 bit coded that's ok because speed is not important since the file is fairly small anyway.

Thanks in advance
Posted on 2002-02-23 12:48:31 by cmax
Look at CopyFile / MoveFile, SHFileOperation APIs

You can make a little console exe to use it with batch files...
Posted on 2002-02-23 13:24:35 by JCP
I not only got it coded properly i also now know how to read the Win32 API...(i never did like it because put in my head it was too stupit to understand)

I think what did it for me was reading posts in this Community night after night and all the help i received. Posted on 2002-02-24 02:32:25 by cmax

If you like doing things the low level way, you can use normal file IO to open another file where you want the new one to be then read the data from the first to the second. all you really ned is a buffer big enough and do the file IO on both files and it will work fine.

Posted on 2002-02-24 04:56:23 by hutch--