mp3 naming convention

By admin  

mp3 naming convention
I need a .bat program to delete files that end in todays date? Should be an easy 10 points for someone skilled?

My file naming convention for songs in the folder we are to be working in is

filename-kill-2-dec-2010.mp3

I need a simple program to compare the end of the file name with a variable declared as todays date and if they match, then delete the file.

I DO NOT WANT OTHER WAYS TO DO THIS I WANT TO DO IT WITH A BATCH FILE SO I CAN USE TASK SCHEDULER TO DO THIS AUTOMATICALLY FOR A RADIO STATION.

Here is your batch file:

if “%1″==”" goto end
del *%1*.*
:end

Assuming that your batch file is named mydel.bat

you can call it by typing

mydel 2-dec-2010

and it will delete only those files where name has “2-dec-2010″.

.

How to copy JUST the PLAYLIST (and not the songs or files) from iPod to iTunes

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • BlinkList
  • LinkedIn
  • MySpace
  • StumbleUpon
  • Technorati
  • Twitter

Post a Comment

Your email is never shared. Required fields are marked *

*
*