Windows XP Tips: Delete Contents from Folder without Deleting Folders Astuces Windows XP: supprimer le contenu du dossier sans supprimer les dossiers
ADVERTISEMENTS ANNONCESThere 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. Il y mai être de nombreux cas où vous souhaitez supprimer le contenu à l'intérieur du dossier, mais souhaite que la structure de dossier en tant que tel. By default Windows does not provide any such option. Par défaut, Windows ne prévoit pas une telle option. 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 il ya beaucoup de dossiers dans un dossier particulier le maintien d'une structure de dossier, puis sa difficile de supprimer le contenu de tous les dossiers. This task can be done using a registry entry. Cette tâche peut être fait en utilisant une entrée de registre.
To do this go to Start-> Run and type ‘ regedit ‘. Pour ce faire, cliquez sur Démarrer-> Exécuter et tapez «regedit». In the registry, navigate to HKEY_CLASSES_ROOT\Directory\Shell key. Dans le Registre, accédez à HKEY_CLASSES_ROOT \ Directory \ Shell clé. Right click on ‘Shell’ and then create the ‘ Empty folder Contents ‘ sub key with the New|Key. Cliquez avec le bouton droit sur "Shell", puis la création du "Vider le dossier Contents' sous-clé avec le Nouveau | Clé. then create the command key in the same way. puis créez la commande clé de la même manière. Open ‘ Default ‘ by right clicking on it in the right hand side window. Open 'par défaut' par un clic droit sur celle-ci dans le côté droit fenêtre. and fill it with the following entry- ‘ cmd /c “cd /d %1 && del /s /f /q *.* . et remplissez-le avec l'entrée suivante-'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. Une fois que vous fermez le Registre, la nouvelle commande apparaît dans le menu du dossier. 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. Maintenant, chaque fois que vous voulez supprimer le contenu, sélectionnez "Vider le contenu du dossier» et que le contenu sera supprimé, la structure des dossiers resteront intacts.
NB: Please back up your registry before making any changes. NB: S'il vous plaît sauvegarder le Registre avant d'apporter des modifications.
Share & Enjoy Profitez de part et



























Feb 8th, 2008 at 4:07 pm Février 8th, 2008 à 4:07 pm
Nice tip. Nice pointe. Keep that coming. Gardez cette venir.

Feb 8th, 2008 at 4:20 pm Février 8th, 2008 à 4:20 pm
@Rakshit, @ Rakshit,
Sure! Certain! More tips on the way. Plus de conseils sur la manière.
Feb 8th, 2008 at 8:47 pm Février 8th, 2008 à 8:47 pm
Nice tip Nirmal. Nice Nirmal pointe. But you have to put the “warning” notes near the top before someone messed up their registry. Mais vous devez y mettre le "avertissement" note, vers le haut avant que quelqu'un d'gâché leur registre.
Feb 8th, 2008 at 11:25 pm Février 8th, 2008 à 11:25 pm
Great tip buddy. Grande pointe pote. Will save everybody a lot of time. Tout le monde va mettre beaucoup de temps.
Feb 9th, 2008 at 9:07 am Février 9th, 2008 à 9:07 am
Nice tip Nirmal thanks Nice pointe grâce Nirmal
Feb 9th, 2008 at 4:38 pm Février 9th, 2008 à 4:38 pm
Very cool tip I have not heard about it before Very cool bout je ne l'ai pas entendu parler avant
Feb 9th, 2008 at 7:22 pm Février 9th, 2008 à 7:22 pm
Nirmal, I’ve tried it on XP and its not working, Did anyone get this working. Nirmal, j'ai essayé sur XP et sa ne fonctionne pas, Est-ce que quelqu'un obtenir ce travail.
Feb 10th, 2008 at 10:58 am Février 10th, 2008 à 10:58 am
@Syahid, @ Syahid,
You are right, the warning should be at the top. Vous avez raison, l'avertissement doit être au top. I forgot that, thanks for that correction. J'ai oublié que, grâce à cette correction.
@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. J'ai fait l'essai sur Vista et il fonctionne bien, s'il vous plaît assurez-vous que vous avez entré la valeur avec le nombre de places.
Feb 10th, 2008 at 12:00 pm 10 février, 2008 à 12:00 pm
This is one good thing I was looking for after sendto option. C'est une bonne chose que je cherchais après sendto option. Thanks nirmal, I will link you for sure in the next speed linking Nirmal Merci, je vous mèneront à coup sûr au cours de la prochaine vitesse reliant
Feb 10th, 2008 at 1:15 pm Février 10th, 2008 à 1:15 pm
@Ashish, @ Ashish,
Glad that you liked the tip. Heureux de voir que vous avez aimé la pointe.
Feb 15th, 2008 at 5:35 am Février 15th, 2008 à 5:35 am
verkat,
The following Key data works on WinXP SP2: La clé suivante de données fonctionne sur Windows XP SP2:
cmd /c cd /d %1 && del /s /f /q *.* cmd / c cd / d% 1 & & del / s / f / q *.*
Trackbacks to this post Les trackbacks pour ce billet
Feb 10th, 2008 at 4:27 pm Février 10th, 2008 à 4:27 pm