is there any way to add characters to dir
output?
for example
C:\temp\temp>dir /B
outputs:
file1.txt
file2.txt
I would like it to add the word "file" and surround filename in single quotes (from within a batch file)
hopeful/expected output would be:
file 'file1.txt'
file 'file2.txt'
Eventually I will use > to export this to a txt file then pass that text file to ffmpeg as a parameter. I tried FART however I couldn't add characters to the beginning of the line.
seems like this should be a fairly common use case, listing files in a directory to use for input to another program. but how would I get these extra characters in there? ("file" and single quotes)