This is a sample of attempt but it doesn't output to the text file using >>, instead it simply display on screen the counter no. + Temp.txt as if it were one of the *.* files being processed.
SET /A _COUNTER=0
for %%f in (*.*) do (
SET /A "_COUNTER+=1"
echo [!_COUNTER!] %%f
echo [!_COUNTER!] %%f>>Temp.txt
REM ffmpeg processing is done here ...
)
Apologies, it works OK I simply overlooked something else. Mod can delete if need to.
+ Reply to Thread
Results 1 to 1 of 1
-
Last edited by JN-; 13th May 2025 at 09:41.
Similar Threads
-
How to use text of file A and timecode of file B
By KisBK in forum SubtitleReplies: 5Last Post: 10th Apr 2024, 07:07 -
Batch file for checking errors in mp4 file
By wiseant in forum Video ConversionReplies: 20Last Post: 10th Feb 2023, 23:33 -
Matroska text file attachment
By Bigo2 in forum Software PlayingReplies: 10Last Post: 12th Jul 2022, 08:30 -
How to get File list with file size in a text file?
By iKron in forum Newbie / General discussionsReplies: 8Last Post: 22nd Jul 2021, 21:13 -
Batch file to extract/convert all tx3g files in an .mp4 file
By olpdog in forum SubtitleReplies: 1Last Post: 23rd Aug 2020, 18:40