已知有F:\i love bathome\text.txt如下文本- .ssa=xmp.ssa
- .ssf=SogouSkinFile
- .sso=SogouExtensionFile
- .sst=CertificateStoreFile
- .sta=Photoshop.STAFile.12
- .ste=Dreamweaver.Site.Definition
- .e=
复制代码 想截取等号后面的东西?试过用for来写:- @echo off&setlocal enabledelayedexpansion
- set FF=F:\i love bathome\text.txt
- for /f "tokens=1 delims=(," %%i in ('type "%FF%"^|findstr /i "="') do (set dim=%%~i)
- echo %dim%
- pause>nul
- exit /b
复制代码 可是截取出来的却不是我想要的,请大侠指点。 |