View Single Post
  #1  
Old 08-04-2006, 20:47
caki caki is offline
Registered User
 
Join Date: Dec 2004
Location: UK
Posts: 899
Thanks: 0
Thanked 0 Times in 0 Posts
caki is on a distinguished road
Batch File Coding

Hey guys,

I'm trying to write a batch that will decode all the mp3's in some dir. Here is what I have so far:

for %%f in (*.mp3) do lame --decode "%%f" %f:~0,-4%.wav

However, that last part (that makes is exclude .mp3 from the file name) doesn't work, even though the good ole documentation says it should.

Anyone have any ideas?
__________________
Sanity is for the weak.
Reply With Quote
Sponsored Links