This is what you want, includes windows rightclick menu integration. Only problem is that it doesnt work with filenames with spaces, use Tag&Rename to do a batch rename to relpace spaces with underscores. It even tags the output files.

Aargh, Dilby, I was just writing a how-to on batch files and right click. I shoulda known that someone here would have already done that. Good thing I previewed or I would have looked silly.

Though I think anticrust's batch file is a bit over-complex... Having to interact with a batch is annoying, as are the limits for file locations. It's much easier just to have several smaller scripts that do one job. I also prefer operating on files, not directories. But the bits for transferring tags are neat, I may have to copy those.

Though I think anticrust's batch file is a bit over-complex... Having to interact with a batch is annoying, as are the limits for file locations. It's much easier just to have several smaller scripts that do one job. I also prefer operating on files, not directories. But the bits for transferring tags are neat, I may have to copy those.

If you make some that differs in various aspects, it would ofcourse be nice if you posted yours for others to look at.....

--------------------

"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD" - Oceania Association of Autonomous Astronauts

If you make some that differs in various aspects, it would ofcourse be nice if you posted yours for others to look at.....

I will definitely do so after I figure out how it all works. It uses some code I haven't seen before. Maybe I can use tag.exe to do tags. That might be faster and easier, and it would also be more universal.

Here's what I had written out before. The batch file is ultra simple, but the instructions for binding to file associations may be helpful for people who don't want to use an installer...

[] = optional. The "pause" will make the command box wait for you to press a key before it closes so you can see what happened. I particularly like that because I use --verbose in the lame options.

Then save the batch file somewhere (if you put it in the same directory as flac.exe and lame.exe you don't need the path. Now you can associate that to a new entry in the right click actions for all flac files.

Then, in and windows folder, open tools -> folder options -> file types. Find & select the entry for flac, and click the "advanced..." button, and then the "new..." button. In the box that pops up, the first text entry is for the name that will be on the right menu. You can call it anything you want, something like "Flac to Mp3" would be good. Then click the "browse" and find your batch file. After you hit ok, you need go to the end of the entry and add " %1". That's space percent one, nothing else. Now hit OK three times.

Now you can right click any flac file and automatically make an mp3 copy. Just be sure to only do one at a time, because if you have multiple files selected and try it they will all go at once instead of one at a time. If you want to do a bunch use something like foobar that can make a queue.

BTW, the ~n is meant to remove the .flac extension of the filename, so that myfile.flac be converted to a myfile.mp3 file and not to a myfile.flac.mp3 file.

That works. Although not if there are any spaces in filenames. An a bit more aesthetically pleasing version (requires lame.exe and flac.exe in searchpath, e.g. System32) could be like the following. But no tags will still obviously be copied over. For that more advanced scripting will be required.