• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CFfile ... delete multiple files?

Contributor ,
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
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
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

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
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

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation