Windows XP Tips: Delete Contents from Folder without Deleting Folders Windows XP Tipps: Inhalt löschen von Ordner ohne Löschen von Ordnern
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. Möglicherweise gibt es viele Fälle, in denen Sie löschen möchten alle Inhalte innerhalb des Ordners, sondern wollte, um die Ordner-Struktur als solche. By default Windows does not provide any such option. Mit dem Standard-Windows bietet keine derartigen 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. Wenn gibt es eine Menge von Ordnern in einem bestimmten Ordner ein Ordner-Struktur, dann seine schwer zu löschen, Inhalte aus allen Ordnern. This task can be done using a registry entry. Diese Aufgabe kann mit Hilfe eines Registry-Eintrag.
To do this go to Start-> Run and type ‘ regedit ‘. Um dies zu tun gehen Sie auf Start-> Ausführen "und geben Sie" regedit ". In the registry, navigate to HKEY_CLASSES_ROOT\Directory\Shell key. In der Registrierung, navigieren Sie zu HKEY_CLASSES_ROOT \ Directory \ Shell-Taste. Right click on ‘Shell’ and then create the ‘ Empty folder Contents ‘ sub key with the New|Key. Rechts klicken Sie auf 'Shell' und erstellen Sie dann die "Leere Ordner Inhalt" untergeordneten Schlüssel mit der Neu | Schlüssel. then create the command key in the same way. erstellen Sie dann den Befehl geben Sie den gleichen Weg. Open ‘ Default ‘ by right clicking on it in the right hand side window. Öffnen Sie "Standard" durch Klick mit der rechten Maustaste auf ihn in der rechten Seite Fenster. and fill it with the following entry- ‘ cmd /c “cd /d %1 && del /s /f /q *.* . und füllen Sie es mit den folgenden Eintrag-"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. Sobald Sie die Registrierung schließen, die neue Befehl wird in dem mit der rechten Maustaste im Menü des Ordners. 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. Nun, wann immer Sie wollen, löschen Sie den Inhalt, wählen Sie "Ordner leeren Inhalt" und nur die Inhalte werden gelöscht, die Ordner-Struktur wird nach wie vor intakt.
NB: Please back up your registry before making any changes. NB: Bitte sichern Sie Ihre Registrierung bevor Sie Änderungen vornehmen.
Share this Post Teilen Sie diesen Post


























Nice tip. Nizza Spitze. Keep that coming. Halten Sie, dass Ihr Kommen.

@Rakshit, @ Rakshit,
Sure! Sicher! More tips on the way. Weitere Tipps auf dem Weg.
Nice tip Nirmal. Nizza Spitze Nirmal. But you have to put the “warning” notes near the top before someone messed up their registry. Aber Sie haben, um die "Warnung" stellt fest, in der Nähe der oberen Nase, bevor jemand ihre Registrierung.
Great tip buddy. Great Buddy-Spitze. Will save everybody a lot of time. Wird speichern alle eine Menge Zeit.
Nice tip Nirmal thanks Nizza Spitze Nirmal dank
Very cool tip I have not heard about it before Sehr cool Spitze Ich habe nicht gehört, über die es vor
Nirmal, I’ve tried it on XP and its not working, Did anyone get this working. Nirmal, ich habe versucht es auf XP und seine nicht funktioniert, Hat jemand diese arbeiten.
@Syahid, @ Syahid,
You are right, the warning should be at the top. Sie haben Recht, die Warnung sollte an der Spitze. I forgot that, thanks for that correction. Ich habe vergessen, dass, Dank für die Korrektur.
@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. Ich habe versucht dies auf Vista, und es war gut, wenden Sie sich bitte stellen Sie sicher, dass Sie eingegeben haben den Wert mit der richtigen Anzahl von Leerzeichen ein.
This is one good thing I was looking for after sendto option. Dies ist ein gute Sache, ich war auf der Suche nach nach sendto Option. Thanks nirmal, I will link you for sure in the next speed linking Dank Nirmal, werde ich Link, den Sie sicher in den nächsten Geschwindigkeit Verknüpfung
@Ashish, @ Ashish,
Glad that you liked the tip. Froh, dass Sie gerne die Spitze.
verkat,
The following Key data works on WinXP SP2: Die folgenden Eckdaten Werke auf WinXP SP2:
cmd /c cd /d %1 && del /s /f /q *.* cmd / c cd / d% 1 & & del / s / f / q *.*