Problem with white spaces in batch file -


"postprint" itemprop = "text">

I search substrings and entries of SVN files using another string following code but when code encounters to change from something Trying to replace the code (space when shown in Notepad) or '##' (seen in Notepad ++) is replaced by the code 'ECO is closed'. How to solve this problem

  closed @echo setlocal enabledelayedexpansion set position = C:. \ RUNTIME_DATA \ set OUTTEXTFILE = set test_out.txt oldstr3 = SetWorkflowVariable set newstr3 = SetProcessVariable oldstr5 set = set newstr5 = / r% for location%% x in x * (*. *) (For "/ = to token = 1, * Delims = ¶ "in %% ('' type %% X '') (set string = %% modify group = string:% oldstr3% =% newstr3% set modified = modified: !!! !!% oldstr5% =% newstr5% revised & gt;% OUTTEXTFILE%) DEL %% x% OUTTEXTFILE copy% %% x del% OUTTEXTFILE% echo space %% X & gt; LOG_FOR_ENTRIES_% date : ~ 4,2 %% Date: ~ 7.2 %% Date: ~ 10.4 %% Time: ~ 0,2%% Time: ~ 3,2 %% Time: ~ 6.2 %% Txt)    

change counter! Revised! with echo.! Revised! . Dot makes it clear that you want to resize something that will not be printed.

Comments