When I run this script, I receive
| was unexpected at this time.
This is code:
@ECHO Off
REM Mapeo de unidad U, path de usuario
net use u: \serverusuarios\%username%
pause
REM ***** Description group ****
for /f %%i in ('net user %username% /domain | find /i /c Group') do set RESULT=%%i
echo %RESULT%
pause
In for
sentence, i
use "
and '
, but I still got error.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…