Sometimes you don't want the user to rename the executable to their choice. This is why I created the function _SelfRename, to ensure the executable stays exactly as you want it. Function: Using a Batch script. Save as _SelfRename.au3 #include-once
#include <FileConstants.au3>
#include <StringConstants.au3>
; #FUNCTION# ====================================================================================================================
; Name ..........: __SelfRename
; Description