答案 0 :(得分:1)
StrCpy $2 ""
badrange:
System::Call 'advapi32::SystemFunction036(*i0r0,i1)'
IntCmpU $0 127 "" "" badrange ; Limit to ASCII, IsCharAlphaNumeric is locale specific
System::Call 'user32::IsCharAlphaNumericA(ir0)i.r1'
StrCmp $1 0 badrange
IntFmt $0 "%c" $0
StrCpy $2 "$2$0"
StrLen $0 $2
IntCmpU $0 10 "" badrange
DetailPrint $2