Solved ¶ symbol meaning in batch file

June 8, 2012 at 03:00:23
Specs: Windows Vista
What is them meaning of this ¶ symbol in batch file

the batch file statement is as follows


@echo off
setlocal enabledelayedexpansion
set INTEXTFILE=mytest_out.txt
echo %INTEXTFILE%
set OUTTEXTFILE=mytest_out1.txt
set SEARCHTEXT=bath
set REPLACETEXT=hello
set OUTPUTLINE=

for /f "tokens=1,* delims=¶" %%A in ( '"type %INTEXTFILE%"') do (
SET string=%%A
SET modified=!string:%SEARCHTEXT%=%REPLACETEXT%!

echo !modified! >> %OUTTEXTFILE%
)
del %INTEXTFILE%
rename %OUTTEXTFILE% %INTEXTFILE%


See More: ¶ symbol meaning in batch file

Report •


#1
June 8, 2012 at 06:25:01
That's what it will ignore it's the filter.

Report •

#2
June 8, 2012 at 08:13:09
✔ Best Answer
for clarification

if a line in a file was

the quick brown¶fox jumped

then this line would assign

the quick brown to %%A

:: mike


Report •

Related Solutions


Ask Question