04175884 当前离线
列兵
yakeyun 当前离线
少尉
TOP
cmd1152 当前离线
禁止访问
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in ('whoami /user^|find " S-"') do (set "c=%%a"&set "c=!c:* S-=S-!"&echo,!c!) pause复制代码
qixiaobin0715 当前离线
大校
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in ('whoami /user^|find " S-"') do ( set "str=%%a" set "str=!str:* S-=S-!" echo,!str! ) pause复制代码