If the user belongs to the administrator group is displayed as administrators;
If the user belongs to the normal user group is displayed as users;
I wrote a line of code myself, but it can't run. Which big brother can pick out the mistakes,
Or give a new idea is also okay, 3Q!
The code is as follows (this code is wrong!):
[ Last edited by muya05 on 2006-12-24 at 07:23 PM ]
If the user belongs to the normal user group is displayed as users;
I wrote a line of code myself, but it can't run. Which big brother can pick out the mistakes,
Or give a new idea is also okay, 3Q!
The code is as follows (this code is wrong!):
for /f "tokens=2 delims=:" in ('net user %username% ^| find "Local Group Members"') do echo %%g[ Last edited by muya05 on 2006-12-24 at 07:23 PM ]
