I need to delete files of the names entered by the user? how can i do so??i think i need to search first all the files in all directories recursively and then delete them??can some one tell some clue to go about it??
Printable View
I need to delete files of the names entered by the user? how can i do so??i think i need to search first all the files in all directories recursively and then delete them??can some one tell some clue to go about it??
That sounds dangerous. There's info in the faq about how to search directories for files but I'd give serious consideration to whether you want to randomly delete files without a fully qualified path.
I don't know ??Quote:
I need to delete files of the names entered by the user?
with the _unlink command is a possibility.Quote:
how can i do so??
If that is what you want, sure you can do that.Quote:
i think i need to search first all the files in all directories recursively and then delete them??
About what ? I see a lot of question marks but no question.Quote:
can some one tell some clue to go about it??