Thanks @Williamsburg,
I saw that stack overflow post already, but it doesn’t help.
I don’t care so much that the background should be fixed, I just want the images to be visible.
@twist how about this:
FOR /L %G IN (1,1,100) DO copy xxx.mp4 %G
(Make sure that you are running the command prompt in the parent directory of the folders, if not first run cd c:\xxx
replacing xxx
with the parent directory of the folders, if the file xxx.mp4 is not in the same directory you will need to write the full path to the file in the command).
@yzahn
I now get an error
The system cannot find the file specified.
@twist you need to make sure all the paths are correct.
@yzahn said in How to create multiple txt files with incrementing numbers?:
@twist you need to make sure all the paths are correct.
I have one directory that has 100 folders named 1-100 and in the same directory there is a file called 123.mp4
I open a CMD window, navigate to the parent folder and run the code you wrote.
@twist did you replace xxx.mp4
in the code with the real file name?
@yzahn Yes I did
@twist hmm…
Do you get the error 100 times?
@yzahn yes
LOL I know why it didn’t work
I tried this on a file with another extension not .mp4 looks like this command only works with certain file types .
@twist that’s weird. copy
should work on any file extension.