
批處理替換文本指定內容后輸出如何保留行與行之間的空行最后由 pcl_test 于 -7-24 11:40我準備做一個替換批處理,代碼如下將debug;替換成run; 但是這樣替換后文本中行與行之間的空格不見了,怎么辦?我不打算去除空格的@echo off&&setlocal enabledelayedexpansionset strold=debug;set strnew=run;for /fdelims=*%%i in (C:UsersAdministratorDesktopComFunction.class.php) do (set var=%%ivar=!var:debug;=run;!echo !var!>>ComFunction_fin.class.php)

