Added an example of extraction by ordinal to GetBinaryResource docs.

Homes32
2025-01-04 16:29:17 -06:00
parent 9e23f41f37
commit a5aa2e1ab4

@@ -39,8 +39,20 @@ GetBinaryResource,<Source>,<ResourceType>,<ResourceID>,<OutputPath>[,NOERR]
### Example 1 ### Example 1
Extract a resource by ID.
```pebakery ```pebakery
GetBinaryResource,"%TargetPrograms%\%ProgramFolder%\%ProgramExe","BINRES","RCDBGSYS","%TargetSystem32%\drivers\Dbgv.sys" GetBinaryResource,"%TargetPrograms%\%ProgramFolder%\%ProgramExe","BINRES","RCDBGSYS","%TargetSystem32%\drivers\Dbgv.sys"
``` ```
Extract a resource by ordinal.
### Example 2
```pebakery
GetBinaryResource,"%ProjectTemp%\%ProgramFolder%\Files.exe","DAT","#135","%PEPrograms%\%ProgramFolder%\Agent.exe"
```