I need some help with the FOR command in batch filing. What I want to do is read the file "Test.txt" and read only the third line and turn it into a usable variable within this batch file. Here is what I have attempted but it didn't work.
for /f "skip=2 delims=" %%a in (Test.txt) do ( set %%a=%LineThree% )
When I run the program it says "The system cannot find the file Test.txt. All help is much appreciated.