I have a large amount of folders with files which I want to create batch files for. Batch files for the individual files and 1 batch file based on all files in 1 folder.
For example I got these files in 1 folder:
C:folderfilename 1.ext
C:folderfilename 2.ext
C:folderfilename 3.ext
C:folderfilename 4.ext
C:folderfilename 5.ext
I want the individual batch files looking like this:
@echo off
call "C:folderfilename 1.ext"
And 1 batch file like this:
@echo off
call "C:folderfilename 1.ext"
call "C:folderfilename 2.ext"
call "C:folderfilename 3.ext"
call "C:folderfilename 4.ext"
call "C:folderfilename 5.ext"
What is the easiest approach for this?
Thanks!
I tried to look into batch creating batch files, but couldn’t figure it out properly.