This one's for the slightly older generation..
I seem to recall on MSDOS you could for example list a directory structure, but modify the output with LFORMAT="..." (Line Format?) e.g. to generate a batch file. Suppose I have a directory of .MOV files I want to convert to .mp4. I thought I could go something like this:
DIR /b *.MOV LFORMAT="avconv.exe -i %1.MOV %1.mp4"
which would produce (I seem to recall you could extract just the filename without extension somehow) :
avconv.exe -i MOV_0001.MOV MOV_0001.mp4
avconv.exe -i MOV_0002.MOV MOV_0002.mp4
avconv.exe -i MOV_0003.MOV MOV_0003.mp4
etc.
Google produces nothing that I can see? Am I going mad?
I seem to recall on MSDOS you could for example list a directory structure, but modify the output with LFORMAT="..." (Line Format?) e.g. to generate a batch file. Suppose I have a directory of .MOV files I want to convert to .mp4. I thought I could go something like this:
DIR /b *.MOV LFORMAT="avconv.exe -i %1.MOV %1.mp4"
which would produce (I seem to recall you could extract just the filename without extension somehow) :
avconv.exe -i MOV_0001.MOV MOV_0001.mp4
avconv.exe -i MOV_0002.MOV MOV_0002.mp4
avconv.exe -i MOV_0003.MOV MOV_0003.mp4
etc.
Google produces nothing that I can see? Am I going mad?
Comment