Monday, 28 July 2014

Delete a file from specific folder

Hi all,
Lets we see about how to delete a file from specific folder,

str spath ;
Filename                    filename;


CommaIo                 file = new commaIo(sourcefile,'r');






spath     = D:\\from\\;
filename = "filename";

file = null;
Winapi::deletefile(Spath+filename);

No comments:

Post a Comment