Windows XP Tips: Delete Contents from Folder without Deleting Folders Windows XPのヒント:フォルダからフォルダを削除することなく内容を削除
ADVERTISEMENTS 広告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.多くのインスタンスがある場合は、フォルダ内のすべての内容を削除することが、可能性がありますが、このようなフォルダ構造を維持するためにしたかった。 By default Windows does not provide any such option.デフォルトのWindowsでそのようなオプションを提供していません。 If there are lots of folders inside a particular folder maintaining a folder structure, then its difficult to delete contents from all the folders.その困難がある場合は、特定のフォルダは、フォルダ構造を維持し、フォルダ内のすべてのフォルダからコンテンツを削除するにはたくさんある。 This task can be done using a registry entry.このタスクは、レジストリエントリを使用して行うことができます。
To do this go to Start-> Run and type ‘ regedit ‘.これを行うにはスタートに行く- >を実行すると型' にregedit ' 。 In the registry, navigate to HKEY_CLASSES_ROOT\Directory\Shell key.には、レジストリでは、 HKEY_CLASSES_ROOTのに移動\ディレクトリ\ Shellキー。 Right click on ‘Shell’ and then create the ‘ Empty folder Contents ‘ sub key with the New|Key. 'シェル'をクリックし、新規|キー付きの' 空のフォルダの内容のサブキーを作成の上で右クリックしてください。 then create the command key in the same way.その後、同じ方法では、コマンドキーを作成します。 Open ‘ Default ‘ by right clicking on it in the right hand side window.オープン[ デフォルトの権利が右側のウィンドウにクリックします。 and fill it with the following entry- ‘ cmd /c “cd /d %1 && del /s /f /q *.* .とは、次のエントリで' cmdファイル/ c "とのCD / dを% 1 & &デル/それを埋める秒/女/ qを*.* 。


Once you close the registry, the new command will appear in the right click menu of the folder.一旦、レジストリを閉じ、新しいコマンドは、フォルダの右クリックメニューに表示されます。 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.するときは、内容を削除するには、 "空のフォルダの内容を選択してください"とだけの内容を、フォルダ構造はそのまま残ります削除されます。
NB: Please back up your registry before making any changes. 注意:ごバックしてレジストリを変更する前に。
Share & Enjoyシェア&エンジョイ



























Feb 8th, 2008 at 4:07 pm 2008年2月8日で、午後4:07
Nice tip.ニースの先端。 Keep that coming.維持が来る。

Feb 8th, 2008 at 4:20 pm 2008年2月8日の午後4時20分
@Rakshit, @ Rakshit 、
Sure!確信している! More tips on the way.方法についてのヒント。
Feb 8th, 2008 at 8:47 pm 2008年2月8日の午後8時47
Nice tip Nirmal.ニースの先端Nirmal 。 But you have to put the “warning” notes near the top before someone messed up their registry.しかし、上部にある、誰かがレジストリをめちゃめちゃにする前に"ノート"の警告をする必要があります。
Feb 8th, 2008 at 11:25 pm 2008年2月8日の11:25時
Great tip buddy.偉大な先端バディ。 Will save everybody a lot of time.誰もが、多くの時間が保存されます。
Feb 9th, 2008 at 9:07 am 2008年2月9日午前9時07時
Nice tip Nirmal thanksニースの先端Nirmal感謝
Feb 9th, 2008 at 4:38 pm 2008年2月9日午後4時38分
Very cool tip I have not heard about it beforeそれについて前に、非常にクールなチップを聞いていない
Feb 9th, 2008 at 7:22 pm 2008年2月9日午後7時22分
Nirmal, I’ve tried it on XP and its not working, Did anyone get this working. Nirmal 、私はXP上で動作していないと、誰もみたことがあるこの作業を取得しました。
Feb 10th, 2008 at 10:58 am 2月10日、 2008年で、午前10:58
@Syahid, @ Syahid 、
You are right, the warning should be at the top.右は、最上部に警告する必要があります。 I forgot that, thanks for that 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.私はVistaでこれを試していると正常に機能していたことを確認してくださいは、スペースでは、正しい番号を、値を入力している。
Feb 10th, 2008 at 12:00 pm 2008年2月10日の午後12時
This is one good thing I was looking for after sendto option.これが私を探していたのsendtoオプションの後に1つ良いことだ。 Thanks nirmal, I will link you for sure in the next speed linking nirmalおかげで、私は次の速度でリンクすることをリンクする
Feb 10th, 2008 at 1:15 pm 2008年2月10日の午後1時15分
@Ashish, @であるAshish 、
Glad that you liked the tip.その場合は、チップを気に入ってうれしく存じます。
Feb 15th, 2008 at 5:35 am 2月15日、 2008年で午前5時35分
verkat, verkat 、
The following Key data works on WinXP SP2:のみWinXP SP2では、次のキーデータの著作物:
cmd /c cd /d %1 && del /s /f /q *.* cmdファイル/ウのCD / dを% 1 & &デル/秒/女/ *.* qを
Trackbacks to this postこの記事へのトラックバック
Feb 10th, 2008 at 4:27 pm 2008年2月10日の午後4時27分