PDA

View Full Version : computer name


ICONICS2000
29th September 2003, 12:55
Does any one know how to get the computer name

thanks

Carl

kichik
29th September 2003, 13:01
This should do it:

StrCpy $1 ${NSIS_MAX_STRLEN}
System::Call "Kernel32::GetComputerNameA(t r0r0, *i r1r1)"
DetailPrint "$0"