.script (run batch script commands)
Description of the '.script' command in HyperDbg.

.script

.script [FilePath (string)] [Args (string)]

Runs a batch file of HyperDbg commands (each command in one line). For more information, please take a look at Debugger Script.

[FilePath (string)]
The file path of commands.
[Args (string)]
Arguments to the script.

The following command runs a batch file located at c:\HyperDbg Batch Files\ApiHook.ds.
HyperDbg> .script c:\HyperDbg Batch Files\ApiHook.ds

None

  1. 1.
    Each line of your file should contain only and only one command.
In HyperDbg's batch scripts '#' is used as the comment character. However, in the script engine, it uses a C-like commenting style.

None
None
Copy link
Edit on GitHub
On this page
Command
Syntax
Description
Parameters
Examples
IOCTL
Remarks
Requirements
Related