This code can update the file resource of All Autoit versions Important before use this code must compress the AutoIt Exe file without using UPX option This section was added to the code Local $FullPath = ""
if StringUpper($pFileName) == StringUpper($OutFile) Then
$SplitA = StringSplit($OutFile,"\")
For $i = 1 To $SplitA[0]
if $i = $SplitA[0] Then
$FullPath &= "New_" & $SplitA[$i]
Else
$FullPath &= $SplitA[$i] & "\"
EndIf
Next
$OutFile = $FullPath
EndIf New script #In