So for the second part of my current dilemma, I have a list of folders in c:\\file_list.txt. I need to be able to extract them (well, echo them with some mods)
@echo off
setlocal enabledelayedexpansion
set /a counter=0
set %%a = ""
for /f "usebackq delims=" %%a in (c:\file_list.txt) do (if "!counter!"=="%1" goto :printme & set /a counter+=1)
:printme
echo %%a%