- Eu não posso julgar isso, desculpe.
- Eu não conheço uma boa maneira de escrever arquivos binários (não textuais) a partir de um script em lote.
-
Você também pode remover uma chave do Registro usando um arquivo
.reg
. Simplesmente colocando colocando um hífen antes da chave .To delete a registry key with a .reg file, put a hyphen (-) in front of the RegistryPath in the .reg file. For example, to delete the Test subkey from the following registry key:
HKEY_LOCAL_MACHINE\Software
put a hyphen in front of the following registry key in the .reg file:HKEY_LOCAL_MACHINE\Software\Test
The following example has a .reg file that can perform this task.[
-HKEY_LOCAL_MACHINE\Software\Test
]
-
Um arquivo de registro é usado apenas para manipular a seção do Registro. Nenhuma interação do usuário (além de um prompt de confirmação) é suportada no processo até onde eu sei.