Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PCヒントをどのようにWindows XPのPCにフォルダのツリー構造を維持しながらのフォルダの内容を削除する
Have you came across a scenario whereby you want to delete all files in main and sub folders while maintaining folder tree structure?あなたはどのシナリオでは、フォルダのツリー構造を維持するメインおよびサブフォルダ内のすべてのファイルを削除して来たことがありますか? By default, Windows doesn’t provide such a feature and you need to do it in a very manual way, by going to each of the folders and highlight all the files you want to delete followed by a Delete button pressed.デフォルトでは、 Windows 、このような機能を提供していませんし、非常にマニュアルの方法でそれを実行する必要がある、それぞれのフォルダに行くと、削除ボタンを押し順を強調するすべてのファイルを削除します。 You need to repeat the same action by going to each of the sub folders until all files have been deleted.までのすべてのファイルが削除されている各サブフォルダをして、同じ行動を繰り返す必要があります。 All these steps could be very time consuming and painful especially when the folder tree structure becomes more complicated.これらすべての手順は非常に時間がかかる、特にフォルダのツリー構造がより複雑になる痛みを伴うかもしれない。 Now with this simple utility, you can delete all files in main and its sub folders while maintaining the folder tree structure with only few steps.現在、この単純なユーティリティを使用して、あなたのすべてのファイルを削除することができますはわずか数歩では、フォルダのツリー構造を維持し、そのサブフォルダがメイン。

This feature can be enabled in right click folder menu by editing the registry key.この機能はフォルダを右クリックメニューで編集することにより、レジストリキーを有効にすることができます。 Just follow instructions as mentioned below and you are done:指示に従うだけで、下記のように行われています:
1) Go to Start -> Run, then type ‘regedit’ and press enter 1 )スタートに移動->を実行し、型'にr egedit'とE nterキーを押します
2) Locate to HKEY_CLASSES_ROOT\Directory\shell 2 )を見つけてHKEY_CLASSES_ROOTの\ディレクトリ\シェル
3) Right click on ‘shell’ folder and choose New -> Key, name the new sub key as ‘Empty Folder Contents’. 3 ) 'を右クリックしてシェル]フォルダを選択新規->キー名'としては、新しいサブキーを空のフォルダの内容の' 。
4) Right click on ‘Empty Folder Contents’ and choose New -> Key, name the sub key as ‘Command’. 'を4 )右クリックして空のフォルダの内容'を選択新規->キー名'として、サブキーコマンド' 。
5) Under the ‘Command’ sub key, double click on ‘Default’ as located at right panel. 'を5 )の'コマンド'サブでは、キーをダブルクリックしてデフォルトの'として右側のパネルにある。 A small Edit String window will be pop up, then enter this value: cmd /c “cd /d %1 && del /s /f /q *.*”小さなウィンドウに文字列を編集し、この値を入力してください: cmdファイル/ c "とのCD / dを% 1 & &デル/秒/女/ qを*.* "がポップアップします
6) Click OK button to save the setting. 6 ) OKボタンを押して設定を保存します。
Once this is done, right clicking on the folder (that you intend to delete the contents) and its sub folder contents, you will see ‘Empty Folder Contents’ has been added in the context menu.これが完了したら、フォルダを右クリックして行われている(その内容を削除する)とそのサブフォルダの内容を意図は、 '空のフォルダの内容が表示されます' 、コンテキストメニューに追加されました。 Just click on it and all the files in this folder as well as sub folders will be deleted without disturbing the original folder tree structure.それをクリックして、このフォルダ内のすべてのファイルと同様のサブフォルダは、元のフォルダのツリー構造を混乱させずに削除されます。
Theその empty folder contents trick also works in Windows Vista空のフォルダ内容のトリックは、 Windows Vistaで動作する . 。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これはマシンとして"保証なしにされている"提供されているページを翻訳しています。 Machine translation may be difficult to understand.機械翻訳を理解するのが難しい場合があります。 Please refer toを参照してください original English articleオリジナルの英語の記事 whenever possible.可能な場合。
Share and contribute or get technical support and help at共有して貢献するかを得る技術サポートと支援 My Digital Life Forums 私のデジタルライフフォーラム . 。
Related Articles関連記事
- Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders " " Vistaを右クリックしてコンテキストメニューを削除するためにフォルダのファイルを削除せずに、空のフォルダの内容を追加
- Turn Off and Disable Windows XP Built-in ZIP Support and Compressed Folders内蔵のWindows XPをオフにして無効- zip形式で圧縮フォルダのサポートと
- Password Protect Compressed (zipped) Folders and Hence Your Files and Foldersパスワードプロテクト圧縮( zip形式)フォルダとそのためのファイルとフォルダ
- How to Change Folder Thumbnail Preview Picture in Windows Vista ExplorerどのようにWindows Vistaのエクスプローラでフォルダを変更するサムネイル画像をプレビュー
- Simple Tips on How to Setup Favorite Folder Directory in Firefox Web Browsers for Quick File Access簡単なヒントをどのように設定お気に入りのフォルダのディレクトリFirefoxのWebブラウザでの迅速なファイルアクセスのために
- Reveal or Hide Windows System Files and Folders明らかに、またはWindowsのシステムファイルとフォルダを表示しない
- Restore Missing or Deleted Favorite Links Shell Folder行方不明の復元または削除されたお気に入りのリンクシェルフォルダ
- Delete Files or Folders Locked by Windows Via Unlocker 1.8.7削除するファイルまたはフォルダのWindowsを介してUnlocker 1.8.7によってロック
- How to Change Windows Explorer Default FolderどのようにWindowsエクスプローラをデフォルトのフォルダを変更するには
- How to Disable and Turn Off Compressed Folder and ZIP Support in Vista (Including Cabinet File)電源をオフに無効にする方法と、 VistaのZIPの圧縮フォルダのサポート(含む内閣ファイル)

































October 7th, 2008 00:09 2008年10月7日00:09
an alternative would be to press F3, use * to search for all the files in folder.代替F3選手権、 *フォルダ内のすべてのファイルを検索するために使用することを押します。 Sort by type and delete all the files and separate out all the subfolders.種類別に並べ替え、および削除するすべてのファイルと別々にすべてのサブフォルダ。 Would take a few seconds, would work on any computer instead of having to edit the registry.は、数秒かかるかではなく、任意のコンピュータで仕事をするには、レジストリを編集している。
October 7th, 2008 02:22 2008年10月7日02:22
Hi, [alias] said it all, F3 does work.こんにちは、 [エイリアス]はすべて、 F3の仕事ではないという。 I´ve tried editing the registry as told above for the tip in Windows Vista x64, the instruction appears in right click menu, but did not delete anything.私は、命令は右クリックメニューでは、上記のようには、レジストリの編集が表示されますが、 Windows Vistaのx64のでは、チップを試みたものを削除していないと述べた。
October 7th, 2008 18:24 2008年10月7日18:24
[...] delete and remove the files, but not the folders that storing the files. [...]を削除し、ファイルを削除ではなく、フォルダは、ファイルを保存する。 There is a trick to add “Empty Folder Contents” contextual item into right click context menu (much like how user access the “Delete” function) in [...]がある" "右クリックしてコンテキストメニューに項目を空のフォルダの内容のコンテンツを追加するためのトリックです(ユーザーのアクセス方法については、 "削除"機能)のような多くの[...]