Every line of txt as variable
Posted: 27 Sep 2018 07:43
Hi,
so i wanted to execute a command with every line of a txt file.
Example:
This txt file with links
Then this command:
after the program is done, it should take the second link of the txt file and repeat the command with the new link.
I have tried many things, but unfortunately nothing has worked...
Thank you!
so i wanted to execute a command with every line of a txt file.
Example:
This txt file with links
Code: Select all
https://www.youtube.com/watch?v=xcJtL7QggTI
https://www.youtube.com/watch?v=0vrdgDdPApQ
https://www.youtube.com/watch?v=D24lUBJLNMY
https://www.youtube.com/watch?v=Bey4XXJAqS8
https://www.youtube.com/watch?v=r29leOOey-c
Code: Select all
"x.exe --link %link%"
I have tried many things, but unfortunately nothing has worked...
Thank you!