Windows XP Tips: Delete Contents from Folder without Deleting Folders Consejos Windows XP: Eliminar contenido de la carpeta sin borrar carpetas
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 *.*.


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


























Nice tip. Niza punta. Keep that coming. De que Mantenga próximos.

@Rakshit, @ Rakshit,
Sure! Seguro! More tips on the way. Más consejos sobre el camino.
Nice tip Nirmal. Niza punta Nirmal. But you have to put the “warning” notes near the top before someone messed up their registry. Pero tienes que poner la "advertencia", señala en la parte superior antes de que alguien metido hasta su registro.
Great tip buddy. Gran amigo punta. Will save everybody a lot of time. Salvará a todo el mundo un montón de tiempo.
Nice tip Nirmal thanks Niza punta gracias Nirmal
Very cool tip I have not heard about it before Very cool punta no he oído hablar antes de
Nirmal, I’ve tried it on XP and its not working, Did anyone get this working. Nirmal, he probado en XP y no su trabajo, ¿Alguien obtener este trabajo.
@Syahid, @ Syahid,
You are right, the warning should be at the top. Tiene usted razón, la advertencia debería ser en la parte superior. I forgot that, thanks for that correction. He olvidado que, gracias a que la corrección.
@Venkat, @ Venkat,
I have tried this on Vista and it was working fine, please make sure that you have entered the value with the correct number of spaces. He intentado esto en Vista y que estaba trabajando bien, por favor asegúrese de que han entrado en el valor con el número correcto de los espacios.
This is one good thing I was looking for after sendto option. Esta es una cosa buena que estaba buscando después de opción SendTo. Thanks nirmal, I will link you for sure in the next speed linking Nirmal Gracias, voy a vincular con certeza que en el próximo velocidad que une
@Ashish, @ Ashish,
Glad that you liked the tip. Me alegra que te gusto la punta.
verkat,
The following Key data works on WinXP SP2: Los siguientes datos clave sobre las obras WinXP SP2:
cmd /c cd /d %1 && del /s /f /q *.* cmd / c cd / d% 1 & & del / s / f / q *.*