ocwhe.blogg.se

Batch batch read file into variable
Batch batch read file into variable













access denied, etc, but for me it doesn't work, i may be 13 but im quite smart, i didn't think i would need Im trying to get it so that it reads the first 2 lines from the text file, which has the username and password, so that if it doesn't match up.

batch batch read file into variable batch batch read file into variable

If %log% gtr 2 echo Thats an invalid choice.Įcho.%UN%> "C:\Users\\Desktop\Stuff\New folder\Login.txt"Įcho.%PW%> "C:\Users\\Desktop\Stuff\New folder\Login.txt"įor /f %%a in (Login.txt) do set UNLC=%%a Im trying to make a login thing, because im really just an enthusiast and i like making stuff and showing my friendsĪnd i've been searching and you have to use the 'for' command, yeeeaaahhh well, that doesn't work for me, and i don't know why :'_( Hey guys, im a batch enthusiast and i have had my experiences in batch, like i made tic-tac-toe from scratch, but this one really puzzles me.















Batch batch read file into variable