Archive: computer name


computer name
Does any one know how to get the computer name

thanks

Carl


This should do it:

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