<< Click to Display Table of Contents >> Navigation: 3. Script Language > RES. - EXE-Resourcen managen > Resourcen-Commands |
MiniRobotLanguage (MRL)
RES. Command
Manage Ressources like Icons, Manifest and Version Information
Intention
This command is used to change or add the Icon, Manifest or Version Information of Executable or DLL-Files.
Syntax
RES.P1|P2[|P3...|Px]
Parameter Explanation
P1 - Command can be any of these
Refresh Explorer
Change Icon
Change Manifest
Change Version
Change Version EN
Change Version DE
Extract All
Extract Icon
Icons Path
Extract Manifest
Extract Version
Last Version
Last Manifest
P2-Px - Parameters depending on the given Command.
Example
'**********************************************
RES.Refresh Explorer
END.
'**********************************************
VAR.$$EXE=Hello.exe
VAR.$$FIA=?path\EXEs\$$EXE
RES.Extract Version|$$FIA|?path\
ENR.
'**********************************************
Remarks
Please take care of these points.
1. Icon-Files may be copyrighted.
2. Signed files may loose their signature (but you may sign them yourself after the process).
3. If the process fails for whatever reason (Antivirus .. etc.) the result may be an unusable file!
Especially for this reason, always work on a copy of the original file!
4. Using the File-Version changing Commands will in some cases (for example, if there is wrong aligned version data in the target file)
remove all file-version information that have been there before, and replace them with your given data. Therefore always work on a copy of
the file to test what you are going to make changes on.
Limitations:
Note that the Explorer has its own logic in displaying version Information, dependent on the windows version.
This may get into your way when you have multi-language resources.
See also:
• 2.2.1 '#ICO: - Choose own Icon
• 2.2.2 '#ICF: - Icon from Icon-Folder
• 2.2.3 '#ICS: / '#ICS: Icon-Set