New
#1
Please help me make bat file to process all files in a folder
Hello
I have downloaded a simple program (consisting of only one file - enc.exe) which can compress one audio format to another, even though the file extension stays the same.
It can be controlled through a cmd window with lines like this:
E:\Enc.exe -i uncompressed.dff -o compressed.dff
It's very tiresome and time consuming to convert each file in a folder in such manual mode.
Can you please teach me how to write a bat file which would make this program convert ALL the files with the extension dff in the current folder and place the resulting files in a subfolder with the same names as before.
Here's an example:
I copy enc.exe (and the bat file which I hope you'll help me create) to a folder called "Michael Jackson" which contains the following files:
01 - Song 01.dff
02 - Song 02.dff
03 - Song 03.dff
...
I want to be able to double click the bat file and get a subfolder (let's say, named as "dst") which would contain the compressed files with the same names:
01 - Song 01.dff
02 - Song 02.dff
03 - Song 03.dff
...
Any help would be very much appreciated!
Thank you
Eugene K