Windows XP Tips: Delete Contents from Folder without Deleting Folders نصائح ويندوز إكس بي : حذف محتويات مجلد من المجلدات دون حذف

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. افتراضي ويندوز لا توفر أي خيار من هذا القبيل. 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 \ دليل \ شل الرئيسية. 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 / ج" مؤتمر نزع السلاح / د 1 ٪ & & دل / ق / و / ف *.*.

registry.jpg

registry11.jpg

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 this Post حصة هذا المنصب

[سبورل] - 4848.pngيسو. - 4848.pngستثمبليوبون - 4848.pngيغذي - 4848.pngلذيذ - 4848.png

Comments تعليقات


Add a comment أضف تعليق

Translate Page ترجم الصفحة

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional
中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish
Nirmal is a Software Engineer and Technology Blogger. Nirmal هو مهندس البرمجيات والتكنولوجيا مدون. He is a Microsoft Most Valuable Professional in Windows Desktop Experience. وهو اغلى لمايكروسوفت ويندوز سطح المكتب من الفئة الفنية في التجربة.
لقاح التهاب السحاياالهند التكنولوجيا المدونين