Windows XP Tips: Delete Contents from Folder without Deleting Folders Consejos Windows XP: Eliminar contenido de la carpeta sin borrar carpetas

Advertisements Anuncios

There may be many instances where you would want to delete all the contents inside the folder, but wanted to maintain the folder structure as such. Puede haber muchos casos donde se desea eliminar todo el contenido en el interior de la carpeta, pero quería mantener la estructura de la carpeta como tal. By default Windows does not provide any such option. Por defecto Windows no ofrece ninguna de esas opciones. If there are lots of folders inside a particular folder maintaining a folder structure, then its difficult to delete contents from all the folders. Si hay un montón de carpetas dentro de una carpeta particular el mantenimiento de una estructura de carpetas y, a continuación, a su difícil eliminar todos los contenidos de las carpetas. This task can be done using a registry entry. Esta tarea puede llevarse a cabo mediante una entrada del Registro.

To do this go to Start-> Run and type ‘ regedit ‘. Para ello vaya a Inicio-> Ejecutar y escribir "regedit". In the registry, navigate to HKEY_CLASSES_ROOT\Directory\Shell key. En el registro, vaya a HKEY_CLASSES_ROOT \ Directorio \ Shell clave. Right click on ‘Shell’ and then create the ‘ Empty folder Contents ‘ sub key with the New|Key. Haga clic derecho sobre "Shell" y, a continuación, crear la "Vaciar el contenido de la carpeta" sub clave con la Nueva | Clave. then create the command key in the same way. a continuación, cree la tecla de comando de la misma manera. Open ‘ Default ‘ by right clicking on it in the right hand side window. Abra 'predeterminada' haciendo clic derecho sobre ella en el lado derecho ventana. and fill it with the following entry- ‘ cmd /c “cd /d %1 && del /s /f /q *.* . y llenarlo con la siguiente entrada-'cmd / c "cd / d% 1 & & del / s / f / q *.*.

registry.jpg

registry11.jpg

Once you close the registry, the new command will appear in the right click menu of the folder. Una vez que se cierre el registro, el nuevo comando aparecerá en el menú del botón derecho de la carpeta. Now whenever you want to delete the contents, select “Empty Folder Contents” and only the contents will be deleted, the folder structure will remain intact. Ahora cada vez que desee eliminar el contenido, seleccione "Vaciar el contenido de la carpeta" y sólo el contenido será eliminado, la estructura de la carpeta permanecerán intactos.

NB: Please back up your registry before making any changes. NB: Por favor, copia de seguridad de su registro antes de hacer cualquier cambio.

Share this Post Compartir este post

StumbleUpon-4848.pngDigg-4848.pngtechnorati-4848.pngalimenta-4848.pngdelicioso-4848.png

Comments Comentarios


Add a comment Añadir un comentario

Translate Page Traducir esta página

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional
中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish
Nirmal is a Software Engineer and Technology Blogger. Nirmal es un Ingeniero de Software y Tecnología de Blogger. He is a Microsoft Most Valuable Professional in Windows Desktop Experience. Él es un Microsoft Most Valuable Professional en el escritorio de Windows Experience.
MVPIndia tecnología bloggers