Hay dos opciones de bloc de notas en el menú contextual del cuaderno Win7. ¿Cómo eliminar las redundantes?
Pasos de la solución:
1. Abra el Bloc de notas y copie el siguiente código:
@echo off
si existe “systemroot\ notepad”. .exe” establezca Npath="systemroot\notepad.exe ”1
si no existe “systemroot\notepad.exe” establezca Npath="systemroot\system32\notepad.exe ”1
reg agregar “HKCR\txtfile\shell\open\command” /ve /d Npath /t REG_SZ /f
reg agregar “HKCR\Applications\notepad.exe\shell\open\command” / ve /d Npath /t REG_SZ /f
reg agregue “HKCR\SystemFileAssociations\text\shell\open\command” /ve /d Npath /t REG_SZ /f
2. guardar como Notepad.bat Recuerde seleccionar el tipo de archivo como "Todos los archivos" al guardar.
3. Haga doble clic para ejecutar Notepad.bat y solo quedará un "Bloc de notas".
El comando anterior es en realidad un proceso por lotes para modificar el valor de la clave de registro. . ¡Efecto reparador!