2
Reply

Need C code to delete file

c seeker

c seeker

Mar 14 2015 7:50 AM
594
Can some please give me a C code that will delete files, whose locations are mentioned in a text file. For example, I have a text file (files.txt) with multiple file paths, one per line. The C program should read the text file and delete the files one by one.
 
I prefer C because I need to create a 16 bit exe. If someone know a way to create 16-bit exe from VBS, I would really appreciate that as well.
 
Thanks a lot in advance.

Answers (2)