How to add registry files to child_process.exec

Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\.VBS]
    @="VBSFile"
    [HKEY_CLASSES_ROOT\.VBS\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

the above code is run directly in the .reg file, but how can it be written through child_process.exec?

Oct.28,2021
Menu