delete file in multiple folders

Home Forums Scripting General Scripting delete file in multiple folders

This topic contains 2 replies, has 2 voices, and was last updated by Avatar mla 3 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Avatar
    mla
    Participant
    #166196

    Hi,
    I need to delete files *.abc in multiple folders.
    Example:
    folder “All” contains subfolders named 1, 2, 3 – 800 (from one to 800).
    Each of subfolders contain *.doc files and files with extention *.abc

    I need to delete *.abc regardless creation date. Just delete all of them (*.abc only)

    Please help.
    Thx.

    Avatar
    wullieb1
    Moderator
    #245400

    Should be something as simple as del /S *.abc

    Avatar
    mla
    Participant
    #309868

    Thanks !
    Could not think that it could drill down to all folders.

    /S Delete specified files from all subdirectories.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.