I have a little problem, I have about 20 shows that are in Flac format that I would like to convert to Ogg format. I would rather not type all the file names or drag each show to the executable.
so I would like to write a batch file for windows/dos to do this. but i am having some problems with it. I have tried a few different routes, wildcards, redirecting output, piping, and none have seemed have worked, i even tried so unix type commands(i have the gnu windows port).
Here are some examples of what i tried:
CODE
oggenc2 *.flac
dir /b > oggenc2
dir /b | oggenc2
ls *.flac | cat > oggenc2
ls *.flac > oggenc2
ls *.flac | cat > files.txt
files.txt > oggenc2
i dont knwo what else to try to convert multiple files with out drag-n-droping or typing all the file names on the command line.
Any help or idea would be great!!
Thank YOU!!!
