1. This forum is in read-only mode.

Using cmd.exe to delete a bunch of images

Discussion in 'Non-Emulation Help' started by Devon, Apr 19, 2011.

  1. Devon

    Devon Well-Known Member

    I could probably do this by myself easy but my brain has been fried over the last 2 days.

    I reformatted, and somehow that corrupted something in the My Music folder, I dunno why but after 2 days of testing and going through things the best answer I could come up with was Album Art, since [blah blah blah].

    So incredibly easy question, I want to use cmd.exe to delete all the album art inside the folder but i want the command for it. My music is seperated into folders by Artist.

    So something like
    Code:
    del D:\Stash\My Music\*\*.jpg
    Does that work? My brain is melting here, do the work for me plz.
     
  2. Jonez001

    Jonez001 Well-Known Member

    http://ss64.com/nt/del.html

    This can help you maybe
     
  3. CoolKill3r

    CoolKill3r Well-Known Member

    @echo off
    :menu
    cls
    echo -----------------------
    echo Action Menu
    echo -----------------------
    echo [1] Delete pictures
    echo [1] Close
    echo -----------------------
    echo.
    set /P input= Action:
    if "%input%" =="1" goto location
    if "%input%" =="2" exit
    goto menu


    :location
    set input=D:\Stash\My Music\*\
    set input=%input%
    goto delete

    :delete
    del "%input%Picture 1.bmp"
    del "%input%Picture 2.jpg"
    del "%input%Picture 3.gif"
    del "%input%Picture 4.png"
    del "%input%Picture 5.ck3"
    pause
    exit