Win 7 agrega comandos para mostrar los archivos ocultos en el menú del botón derecho

  

Un amigo preguntó en el área de ayuda cómo agregar "mostrar archivos ocultos y archivos del sistema" al menú del botón derecho, acaba de encontrar el método, compartirlo, espero ayudar a los amigos que lo necesitan.
El método es muy simple,
Paso 1 Abra el Bloc de notas y copie el siguiente código: Dim WSHShell

Establezca WSHShell = WScript.CreateObject ("WScript.Shell")

sTitle1 = "SSH = 0"

sTitle2 = "SSH = 1"

if WSHShell.RegRead ("HKCU \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Explorer \\ Advanced \\ ShowSuperHidden") = 1 luego

WSHShell.RegWrite "HKCU \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Explorer \\ Advanced \\ ShowSuperHidden", "0", "REG_DWORD"

WSHShell.RegWrite "HKCU \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Explorer \\ Advanced \\ Hidden "," 2 "," REG_DWORD "

WSHShell.SendKeys" {F5} + {F10} e "

'WSHShell.Popup" ¡Poof, se han ido! ", 1, sTitle1, vbInformation

else

WSHShell.RegWrite" HKCU \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Explorer \\ Advanced \\ ShowSuperHidden "," 1 "," REG_DWORD "

WSHShell.RegWrite" HKCU \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Explorer \\ Advanced \\ Hidden "," 1 "," REG_DWORD "

WSHShell.SendKeys" { F5} + {F10} e "

'WSHShell.Popup" Aquí hay un Re! ", 1, sTitle2, vbInformation

end if if

Set WSHShell = Nothing

WScript.Quit (0)
Guarde el código como archivo SuperHidden.vbs (Seleccione Guardar - Formato para seleccionar todos los archivos, ingrese el nombre de archivo SuperHidden.vbs) y cópielo al directorio de Windows (o cualquier directorio)

Paso 2 Cree un nuevo archivo de documento e ingrese el siguiente código: REGEDIT4

[HKEY_CLASSES_ROOT \\ Directory \\ Background \\ shellex \\ ContextMenuHandlers \\ SuperHidden]

@ = "{00000000-0000-0000-0000-000000000012}"

[HKEY_CLASSES_ROOT \\ CLSID \\ { 00000000-0000-0000-0000-000000000012} \\ InProcServer32]

@ = hex (2): 25,53,79,73,74,65,6d, 52,6f, 6f, 74,25, 5c, 73,79,73,74,65,6d, 33,32,5c, 73, \\

68,64,6f, 63,76,77,2e, 64,6c, 6c, 00

"ThreadingModel" = "Apartamento"

[HKEY_CLASSES_ROOT \\ CLSID \\ {00000000-0000-0000-0000-000000000012} \\ Instance]

"CLSID" = "{ 3f454f0e-42ae-4d7c-8ea3-328250d6e272} "

[HKEY_CLASSES_ROOT \\ CLSID \\ {00000000-0000-0000-0000-000000000012} \\ Instance \\ InitPropertyBag]

" method "=" ShellExecute "

" Param1 "=" C: \\\\ WINDOWS \\\\ SuperHidden.vbs "

" command "=" Mostrar /Ocultar archivos ocultos "

" CLSID "= "{13709620-C279-11CE-A49E-444553540000}"
Copie el código, la tercera parte de la penúltima línea es la ubicación donde instaló Windows, o la ubicación del script vbs, la parte azul de la penúltima línea se puede modificar para Guarde su texto favorito
como un archivo de registro .reg y haga doble clic para importar el registro.

Copyright © Conocimiento de Windows All Rights Reserved