[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
本帖最后由 flashercs 于 2019-8-25 20:31 编辑

batch
  1. @echo off
  2. pushd "%~dp0"
  3. Powershell -NoProfile -Command "Get-Content A.txt|ForEach-Object -Begin {$str=Get-Content B.txt|Out-String} -Process {$str=$str.Replace($_,'')} -End {$str|Out-File -FilePath B.txt}"
  4. popd
复制代码
1

评分人数

微信:flashercs
QQ:49908356

TOP

回复 5# gu3669

4楼是bat 批处理
微信:flashercs
QQ:49908356

TOP

返回列表