jackesy 当前离线
一级士官
TOP
weichenxiehou 当前离线
上尉
@echo off&setlocal enabledelayedexpansionfor /f "delims=" %%i in ('findstr /i "sys\sys_" aa.txt') do ( set "str=%%i"&set "str=!str:*sys\sys_=!"&set "str=!str:~,5!" cd.>!str!.exe&goto :eof)COPY
@echo off&setlocal enabledelayedexpansion for /f "skip=2 delims=" %%i in ('find /i "sys\sys_" aa.txt') do ( set "str=%%i"&set "str=!str:*sys\sys_=!"&set "str=!str:~,5!" set NS=!str!&goto :end):endecho %NS%goto :eofCOPY
awk 当前离线
findstr /i "sys\sys_" a.txtfindstr /i "sys\\sys_" a.txtfindstr /i /c:"sys\sys_" a.txtfindstr /i /l "sys\sys_" a.txtCOPY
gawk "/SYS\\SYS_/{gsub(/.*SYS\\SYS_/,\"\");gsub(/\\.*/,\"\"); print >$0\".txt\"}" a.txtCOPY
评分人数
FOR 当前离线
中尉
gawk "/SYS\\SYS_/{s=index($0,\"SYS\\SYS_\")+8;print substr($0,s,5)}" a.txtCOPY