Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC טיפים של כיצד למחוק תוכן תיקיה, תוך שמירה על מבנה עץ התיקיות ב-Windows XP מחשב
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) התחל -> הפעלה ולאחר מכן הקלד regedit 'ולחצו אנטר
2) Locate to HKEY_CLASSES_ROOT\Directory\shell 2) אתר אל HKEY_CLASSES_ROOT \ Directory \ shell
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 *.*” עריכת חלון קטן המיתרים יהיה pop up, ולאחר מכן הזן את הערך: cmd / c "cd / d% 1 & & del / s / f / q *.*"
6) Click OK button to save the setting. 6) לחצן לחץ על אישור כדי לשמור את ההגדרה.
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. פשוט ללחוץ על זה ועל כל הקבצים בתיקייה זו, כמו גם תיקיות משנה יימחקו ללא הפרעה מבנה עץ התיקיות המקורי.
IMPORTANT : The page is machine translated and provided "as is" without warranty. חשוב: הדף מכונת תירגם מתפרסם "כמות שהוא" ללא אחריות. Machine translation may be difficult to understand. תרגום מכונה יכול להיות קשה להבין. Please refer to נא עיין original English article המאמר המקורי באנגלית whenever possible. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders הוסף "תוכן תיקייה ריקה" לחץ על העכבר כדי Vista Context Menu למחוק קבצים מבלי להסיר תיקיות
- Delete and Reset Windows Vista Folder Views or Folder Types Settings to Default Clean State למחוק ו-Windows Vista איפוס Views תיקייה או תיקיות סוגי הגדרות ברירת המחדל נקי המדינה
- Automatically Expand Navigation Pane Tree to Current Folder in Windows 7 אוטומטית הרחב עץ בחלונית הניווט כדי התיקייה הנוכחית של Windows 7
- Organizer Note In Tree Structure View Via AllMyNotes Organizer סדרן הערה עץ מבנה הצג Via AllMyNotes ארגונית
- Download Free Disk Redactor to Securely Delete All Sensitive Personal Contents in Windows PC הורד Redactor פנוי בדיסק בצורה מאובטחת מחק כל תוכן אישי רגיש ב-Windows במחשב
- Download SecuWipe to Securely Delete All Sensitive Personal Contents in Windows Mobile Devices הורד SecuWipe בצורה מאובטחת מחק כל תוכן אישי רגיש ב-Windows התקנים ניידים
- Display and Show Classic Navigation Tree Pane in Windows 7 Explorer (for Users Folder, Control Panel, Recycle Bin and CD/DVD/BD Drives) התצוגה הצג קלאסיקה עץ בחלונית הניווט ב-Windows Explorer 7 (עבור משתמשים תיקייה, לוח הבקרה, סל המיחזור ו-CD / DVD כונני BD)
- Use Vista SendTo Folder to Add or Delete Send To Menu Items or Shortcuts השתמש Vista SendTo תיקיות כדי להוסיף או למחוק פריטי תפריט שלח אל או קיצורי דרך
- Fast Empty Folder Finder to Clean Up Your Desktop System מהר Finder תיקייה ריקה לנקות מערכת שולחן העבודה שלך
- Simple Tips on How to Setup Favorite Folder Directory in Firefox Web Browsers for Quick File Access פשוט עצות כיצד ההתקנה מועדף תיקייה מדריך ב-Firefox עבור דפדפני אינטרנט מהיר קובץ של Access










































August 28th, 2009 03:54 28 אוגוסט 2009 03:54
Using this post and info from שימוש זה לפרסם מידע מ http://blogs.msdn.com/oldnewthing/archive/2008/04/17/8399914.aspx http://blogs.msdn.com/oldnewthing/archive/2008/04/17/8399914.aspx
I pieced together this one line command to put in the “Empty Folder Contents” registry key. אני pieced יחד זה אחד בשורת הפקודה כדי לשים את "הצגת תוכן תיקיה ריקים" מפתח הרישום. It gives a warning with pauses, which can be tweaked (I couldn't figure out how to have it recognize a yes or no and quit in a one line command) and deletes everything in the directory, including empty directories. זה נותן אזהרה עם הפסקות, אשר ניתן צבט (לא יכולתי להבין איך זה צריך להכיר כן או לא להיסגר בתוך שורת פקודה אחת) ומוחק הכל במדריך, כולל ספריות ריק.
Just follow this post and put the following in for the Default Command in the registry: פשוט בצע את ההודעה ולשים את הדברים הבאים עבור פיקוד ברירת מחדל ברישום:
cmd /c “echo BE CAREFUL – X out of the window if you don't want to delete directory contents && pause && echo LAST WARNING – all files and subdirectories will be deleted && pause && cd /d %1 && del /s /f /q *.* && for /f “usebackq delims=” %%d in (`”dir /ad/b/s | sort /R”`) do rd “%%d”" cmd / C "הד זהיר - איקס מהחלון אם אתה לא רוצה למחוק את תוכן הספריות & & & & הד הפסקה האחרונה אזהרה - כל הקבצים יימחקו subdirectories & להשהות & & cd / d% 1 & & del / s / F / *.* & Q & for / f "delims usebackq ="% d% ב ( `" Dir / מודעות / b / s | מין / R "`) לעשות rd "% d%" "
May 6th, 2009 04:17 6 מאי 2009 04:17
greatest thing i have ever encountered. אני הדבר הגדול ביותר אי פעם נתקל. imagine that the internet is ACTUALLY helpful לדמיין כי האינטרנט הוא למעשה מועיל
March 20th, 2009 02:31 20 מרס 2009 02:31
hi i can see the context menu when i right click but when i click the menu it says היי אני יכול לראות את תפריט ההקשר כאשר לחץ אני בסדר אבל כאשר אני לחץ על תפריט זה אומר
“This file does not have a program associated with it for performing this action.Create an association in the Folder Options control panel "קובץ זה אין תוכנית המשויך אליו לביצוע זה action.Create עמותה בלוח הבקרה אפשרויות תיקייה
October 29th, 2008 03:23 29 אוקטובר 2008 03:23
be careful cutting and pasting from the web page into regedit. להיזהר גזירה והדבקה מדף האינטרנט לתוך regedit.
You may find that the “double-quotes” copied from the web page are not the same as the double quotes needed by the command. אתה עלול למצוא כי "פעמיים מצטט" מועתק מדף האינטרנט לא זהה במרכאות כפולות הצורך על ידי הפקודה.
It didn't work for me until I deleted and reenterd the “double-quotes” in regedit. זה לא עבד לי עד שאני שנמחקו reenterd "פעמיים מצטט" ב regedit. Now it works fine. עכשיו זה עובד בסדר.
Its a bit dangerous tho. Tho קצת מסוכן שלה. Is there a way of poping up a dialog box “Are you sure?” ??? האם ישנה דרך של poping את תיבת דו שיח "האם אתה בטוח?"???
October 23rd, 2008 10:41 23 אוקטובר 2008 10:41
Ty Myrick, טאי מייריק,
In other words, you want to get all of the files in a subfolder structure and put them in a single folder. במילים אחרות, אתה רוצה לקבל את כל הקבצים במבנה תיקיית משנה ושמתי אותם בתיקיה אחת.
Use the first comment from alias above, השתמש התגובה הראשונה מן הכינוי לעיל,
but instead of delete all the files, cut these files and then paste into a new and empty folder. אבל במקום למחוק את כל הקבצים, לחתוך את הקבצים הללו ולאחר מכן הדבק לתוך תיקיה חדשה וריקה.
October 16th, 2008 04:59 16 אוקטובר 2008 04:59
Is there any way to do the reverse of this? האם יש דרך לעשות את ההפך של זה? Sometimes I want to delete a subfolder structure without deleting the files within it. לפעמים אני רוצה למחוק את תיקיית משנה מבנה מבלי למחוק את הקבצים בתוכה. Is there any way to delete a folder and move the files up in the hierarchy? האם יש דרך למחוק תיקייה להעביר את הקבצים למעלה בהיררכיה?
October 11th, 2008 00:35 11 אוקטובר 2008 00:35
hey! היי! what if i wanted to delete all the contents in the folder by using the context menu what string should i place in the dafault key? מה אם אני רוצה למחוק את כל התוכן בתיקייה באמצעות תפריט ההקשר מחרוזת מה אני צריך מקום במפתח dafault?
October 11th, 2008 00:29 11 אוקטובר 2008 00:29
this is great thanks זה תודה רבה
October 8th, 2008 00:48 8 אוקטובר 2008 00:48
What are the symbols that look like reverse Bs? מה הם סמלים שנראים כמו Bs הפוכה?
in the string. במחרוזת. I tried copying and pasting and the symbols turned to &&. ניסיתי להעתיק ולהדביק את הסמלים פנה & &. Right clicking a folder showed the string entered in the reg not empty folder contents לחיצה ימנית על התיקייה הראה את המחרוזת נכנס ב-reg לא ריק תוכן התיקיה
October 7th, 2008 18:24 7 אוקטובר 2008 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 [...] יש טריק כדי להוסיף "תוכן תיקייה ריקה" פריט הקשר לתוך קליק ימני תפריט ההקשר (כמו כיצד גישה למשתמש "מחק" הפונקציה) ב [...]
October 7th, 2008 02:22 7 אוקטובר 2008 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 00:09 7 אוקטובר 2008 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. ייקח כמה שניות, תעבוד על כל מחשב, במקום לערוך את הרישום.