Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
CFfile ... delete multiple files?
Home
ColdFusion
Discussions
CFfile ... delete multiple files?
0
Upvote
CFfile ... delete multiple files?
Karen_Little
Contributor
,
/t5/coldfusion-discussions/cffile-delete-multiple-files/td-p/55327
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
I'd like to execute a bulk file delete with CFfile that goes something like: delete myFile_*#uniqueID#_*.jpg
Is that possible?
TOPICS
Advanced techniques
Views
1.6K
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
MikerRoo
Advisor
,
/t5/coldfusion-discussions/cffile-delete-multiple-files/m-p/55328#M5733
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
No can do.
Use CFDIRECTORY with wildcards to get list and then loop it.
Or use a DOS delete with cfexecute.
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Karen_Little
AUTHOR
Contributor
,
/t5/coldfusion-discussions/cffile-delete-multiple-files/m-p/55329#M5734
Oct 26, 2006
Oct 26, 2006
Copy link to clipboard
Copied
LATEST
oooooo ... a dos delete. I didn't know about cfexecute! That does it!
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide