把B.txt的字符串先赋值变量后,替换相应的关键字 @echo off& setlocal enabledelayedexpansion for /f \"delims=\" %%1 in (B.txt)do (set /a snow+=1&a...