//&cls&cscript -nologo -e:jscript "%~f0"<"文本.txt">"结果.txt"&pause&exit
WSH.Echo(WSH.StdIn.ReadAll().replace(/\d+/g,function(a){return Number(a)+100}));
win7以上系统可以这样
powershell -c "[regex]::Replace([IO.File]::ReadAllText('文本.txt',[Text.Encoding]::Default),'\d+',{param($a);[int]$a.toString()+100})">"结果.txt"
pause