Originally posted by yuipr at 2007-2-9 04:16 PM:
C:\Documents and Settings\yichuanj>@echo off for /f "tokens=2 delims=*" %a in ('net user ^|find "local"') do @echo %~a
off for /f "tokens=2 delims=*" %a in ('net ...
The word "local" means that it is supposed to query the user group information of the local machine. I don't know if I wrote this wrong. It can be changed to any host name. Oh, expert, help me. I need the result today.
[ Last edited by yuipr on 2007-2-9 at 04:27 PM ]

