May 9, 2002 #1 ceodav Programmer Feb 21, 2003 106 IT hi, i want to delete all the files in a directory, i use DeleteFile("C:\\temp\\*.*" or remove("C:\\temp\\*.*" it doesn't work! anyone could help me? thanks
hi, i want to delete all the files in a directory, i use DeleteFile("C:\\temp\\*.*" or remove("C:\\temp\\*.*" it doesn't work! anyone could help me? thanks
May 9, 2002 #2 Zyrenthian Programmer Mar 30, 2001 1,440 US With CFileFind you can search on *.* and delete them 1 by 1. DeleteFile does not support wildcards. Matt Upvote 0 Downvote
With CFileFind you can search on *.* and delete them 1 by 1. DeleteFile does not support wildcards. Matt
May 9, 2002 Thread starter #3 ceodav Programmer Feb 21, 2003 106 IT thanks, it works... Upvote 0 Downvote