Greetings dear Experts!
Could you please advice me on how to cope with the problem:
@echo off
cls
setlocal enabledelayedexpansion
path=%CD%;%path%
set NumberOfPages=553
rem set /A MaxFileIndex=%Counter% - 1
set MaxFileIndex=1
del Output.txt
for /l %%i in (0,1,%MaxFileIndex%) do call :GenerateFileList %%i
goto :eof
::::::::::::::::::::::::::
:GenerateFileList
::::::::::::::::::::::::::
setlocal enabledelayedexpansion
set CurrentFileName="File(%1).txt"
echo !CurrentFileName:"=! > Output.txt
goto :eof
::::::::::::::::::::::::::
:eof
::::::::::::::::::::::::::
endlocal
This code echoes on the screen instead of writing to "ExtractedLinks.txt". What is the problem here?