File Not Found

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Message
Author
aGerman
Expert
Posts: 4722
Joined: 22 Jan 2010 18:01
Location: Germany

Re: File Not Found

#16 Post by aGerman » 31 Jul 2013 14:14

Untested:

Code: Select all

<test.txt (
  for /l %%i in (1 1 4) do set /p "="
  set /p "st="
)
for /f "tokens=1* delims==" %%i in ("%st%") do set "st=%%j"

Regards
aGerman

JelloOfTheMoon
Posts: 11
Joined: 30 Jul 2013 20:07

Re: File Not Found

#17 Post by JelloOfTheMoon » 31 Jul 2013 14:46

Tested:
You're awesome.

Post Reply