is there any way to get the computer account name using a batch file
like getting the name and then set that name to a variable using "set" command
get the computer account name
Moderator: DosItHelp
Re: get the computer account name
'
you mean?
you mean
Code: Select all
echo.%computername%
Re: get the computer account name
thanks for the quick replay,
i mean to get the user name that you can see in the top of start menu
i mean to get the user name that you can see in the top of start menu
Re: get the computer account name
'
intuitive isn't it:
intuitive isn't it:
Code: Select all
echo.%username%

Code: Select all
@echo off
echo. global variables are:
set
pause
exit /b 0