circu.js
    Preparing search index...

    Function writeRegistry

    • Write a registry value. The registry type is inferred from the JS type:

      • stringREG_SZ
      • numberREG_DWORD
      • Uint8ArrayREG_BINARY

      The key must already exist; this does not create subkeys.

      Parameters

      • hive: number
      • key: string
      • name: string
      • value: string | number | Uint8Array<ArrayBufferLike>

      Returns void

      writeRegistry(HKCU, 'Software\\MyApp', 'LastRun', Date.now().toString());