Im currently looking for a method to set variables in a windows batch file from linkes in txt document.
So for example, if the text file reads:
http://website1.com
http://website2.com
http://website3.com
I can hopefully output them to variables in the batch. Example:
set var1="Line one of text file, ex: http://website1.com"
set var2="Line two of text file, ex :http://website2.com"
set var3="Line three of text file, ex: http://website3.com"
Any help is appreciated, thanks in advance!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…