SYNOPSIS
bindres target_file source_file [source_file...]
bindres
DESCRIPTION
bindres encodes resources and "binds" the result along with descriptive annotations into the body of text files. bindres operates on the resources contained in any .bmp, .cur, .ico, or .res file, and binds the result into any writable text file.
When you bind a resource into target_file, the result is added at the end of the current text. If you bind another resource into a target_file with existing bound resources, the new encoded resource is inserted between the end of the initial text and the beginning of the previously bound resource text.
Options
-u -
removes all existing bound files from target_file. If you specify a source_file on the command line, all existing bound resources in target_file are replaced by the encoded output of source_file.
EXAMPLES
The command
bindres file.ksh bitmap.bmp icon.ico
encodes the resources in bitmap.bmp and icon.ico and inserts them with descriptive annotations into file.ksh.
If you then specify the command
bindres -u file.ksh resource.res
all encoded text from bitmap.bmp and icon.ico is deleted, and the resultant encoded resource.res is inserted in their place.
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
Using the MKS KornShell
PTC MKS Toolkit 10.5 Documentation Build 40.