Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.
Computer Hope forum e-mail issues and down time
0 Members and 1 Guest are viewing this topic.
He's playing a game called IRL. Great graphics, *censored* gameplay.
@echo offecho 1:a>test.txtecho 2:b>>test.txtecho 3:c>>test.txtecho 4:d>>test.txtset var=2for /f "tokens=1-2 skip=%var% delims=:" %%A in (test.txt) do ( echo %%A %%B )
3 c4 d
Since you didn't post your code or say what OS you are using we can't see where your problem is However, this worksCode: [Select]@echo offecho 1:a>test.txtecho 2:b>>test.txtecho 3:c>>test.txtecho 4:d>>test.txtset var=2for /f "tokens=1-2 skip=%var% delims=:" %%A in (test.txt) do ( echo %%A %%B )Code: [Select]3 c4 d
say what OS you are using