Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Batch file to delete files in a folder  (Read 4203 times)

0 Members and 1 Guest are viewing this topic.

sindhuja

    Topic Starter


    Starter

    • Experience: Beginner
    • OS: Windows XP
    Batch file to delete files in a folder
    « on: May 14, 2015, 07:56:47 AM »
    Hi,
    I need a batch file to delete the files in the folder \\desktop solutions\test\ by searching the word "Copy" in the file names.
    For example in the above folder i have files names "Copy of backup.txt" and "Copy.txt". I would like to delete these file by searching with "Copy"word even though if the file name contains spaces in between.

    Thanks in advance. :)

    patio

    • Moderator


    • Genius
    • Maud' Dib
    • Thanked: 1769
      • Yes
    • Experience: Beginner
    • OS: Windows 7
    Re: Batch file to delete files in a folder
    « Reply #1 on: May 14, 2015, 08:11:35 AM »
    No need to double-post...

    Topic Closed.
    " Anyone who goes to a psychiatrist should have his head examined. "