for %%i in (%set%) do (for /f "tokens=* delims=%cd%" %%a in ("%%i") do (for /f "tokens=1,2 delims=." %%b in ("%%a") do echo %cd% & echo %%b & echo %%c))
for %%i in (%set%) do (for /f "tokens=* delims=%cd:~0,-1%" %%a in ("%%i") do (for /f "tokens=2 delims=\" %%b in ("%%a") do (for /f "tokens=1,2 delims=." %%c in ("%%b") do echo %cd% & echo %%c & echo %%d)))