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

Command

.script

Syntax

.script [FilePath]

Description

Runs a batch file of HyperDbg commands (each command in one line).

Parameters

[FilePath]
The file path of commands.

Examples

The following command runs a batch file located at c:\HyperDbg Batch Files\ApiHook.dbg.
1
HyperDbg> .script c:\HyperDbg Batch Files\ApiHook.dbg
Copied!

IOCTL

None

Remarks

    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.

Requirements

None
None
Last modified 2d ago