def rule(event):
    if all(
        [
            "/e:jscript" in event.deep_get("CommandLine", default=""),
            "\\Local\\Temp\\Errors.bat" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
