I'm trying to set the variable of of the for statement to another variable. When I'm doing this:
for /f "tokens=* delims= " %%p in (plugins.txt) do set pp = %%p
It works correct. But I want to do more, So I do it after the ( and now it doesn't work. Why is that and how can I solve it?
for /f "tokens=* delims= " %%p in (plugins.txt) do (
set pp = %%p
echo %pp%
echo %pp%
echo %%p)
EDIT: Added input and desired output
content of plugins.txt
http://subversion/svn/dotCMSPlugins/CustomLogin/trunk
Desired output
CustomLogin