Page 1 of 1
get the computer account name
Posted: 29 Oct 2011 00:19
by abc0502
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
Re: get the computer account name
Posted: 29 Oct 2011 00:36
by Ed Dyreen
Re: get the computer account name
Posted: 29 Oct 2011 00:42
by abc0502
thanks for the quick replay,
i mean to get the user name that you can see in the top of start menu
Re: get the computer account name
Posted: 29 Oct 2011 00:46
by Ed Dyreen
'
intuitive isn't it:
Code: Select all
@echo off
echo. global variables are:
set
pause
exit /b 0
Re: get the computer account name
Posted: 29 Oct 2011 00:49
by abc0502
thanks a lot that worked
thanks again
