Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC Galiņiem Kā dzēst mapes saturu, tajā pašā laikā saglabājot mapju koku struktūru 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? Vai jums bija pāri scenāriju, kuru vēlaties izdzēst visu galveno un apakš mapes failus saglabājot mapju koku struktūra? 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. Pēc noklusējuma Windows nesniedz šādu funkciju un jums ir nepieciešams to darīt ļoti manuālā veidā, dodoties uz katras mapes un izcelt visus failus, kurus vēlaties dzēst pēc Delete pogas nospiešanas. You need to repeat the same action by going to each of the sub folders until all files have been deleted. Jums nepieciešams atkārtot pašas darbības, dodoties uz katra apakš mapes, kamēr visi faili ir izdzēsti. All these steps could be very time consuming and painful especially when the folder tree structure becomes more complicated. Visi šie pasākumi var būt ļoti laikietilpīgs un grūts, jo īpaši, ja mapju koku struktūra kļūst sarežģītāka. 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. Tagad ar šo vienkāršo lietderība, jūs varat izdzēst visus failus galvenais un tās apakšgrupu mapes saglabājot mapju koku struktūra ir tikai daži soļi.

This feature can be enabled in right click folder menu by editing the registry key. Šī funkcija var iespējot tiesības uz mapes menu, rediģējot reģistra atslēgu. Just follow instructions as mentioned below and you are done: Vienkārši izpildiet instrukcijas, kā norādīts turpmāk, un tas ir paveikts:
1) Go to Start -> Run, then type 'regedit' and press enter 1) Atveriet Start -> Run, ierakstiet 'regedit' un nospiediet Enter
2) Locate to HKEY_CLASSES_ROOT\Directory\shell 2) Locate uz 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) Right click uz "apvalks" mapi un izvēlies New -> Key, nosaukumu jaunas apakšprogrammas taustiņu kā 'Empty Folder Contents ".
4) Right click on 'Empty Folder Contents' and choose New -> Key, name the sub key as 'Command'. 4) Labais klikšķis uz "Empty Folder Contents" un izvēlies New -> Key, nosaukumu sub taustiņu kā "komandu".
5) Under the 'Command' sub key, double click on 'Default' as located at right panel. 5) Programmā "Command" sub taustiņu divreiz uzklikšķiniet uz "Default", kas atrodas labajā pusē panelī. A small Edit String window will be pop up, then enter this value: cmd /c “cd /d %1 && del /s /f /q *.*” Neliels Edit String logu būs pop up, tad ievadiet šo vērtību: cmd / c "cd / d% 1 & & del / s / f / q *.*"
6) Click OK button to save the setting. 6) Noklikšķiniet uz pogas Labi, lai saglabātu uzstādījumu.
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. Kad tas ir izdarīts, tiesības noklikšķinot uz mapi (ka jūs plānojat dzēst saturu) un tās apakšgrupu mapes saturu, jūs redzēsiet 'Empty Folder Contents "ir pievienots konteksta izvēlnē. 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. Vienkārši noklikšķiniet uz tā un visus failus šajā mapē, kā arī sub mapes tiks dzēsti neizjaucot sākotnējo mapju koka struktūru.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders Pievienot "Empty Folder Contents" Lai Vista Right Click Context Menu Lai dzēstu failus, nenoņemot mapes
- Delete and Reset Windows Vista Folder Views or Folder Types Settings to Default Clean State Dzēst un Reset Windows Vista Folder Views vai mape veidi Uzstādījumi, lai Default tīrā stāvoklī
- Automatically Expand Navigation Pane Tree to Current Folder in Windows 7 Automātiski Expand Navigācijas rūts koku uz Pašreizējā mape Windows 7
- Organizer Note In Tree Structure View Via AllMyNotes Organizer Organizators Piezīme Tree Struktūra View Via AllMyNotes Palīgrīki
- Download Free Disk Redactor to Securely Delete All Sensitive Personal Contents in Windows PC Download Free Disk redaktors ar drošu Dzēst visus Sensitive Personal satura Windows PC
- Download SecuWipe to Securely Delete All Sensitive Personal Contents in Windows Mobile Devices Download SecuWipe uz drošu Dzēst visus Sensitive Personal Saturs Windows Mobile Devices
- Display and Show Classic Navigation Tree Pane in Windows 7 Explorer (for Users Folder, Control Panel, Recycle Bin and CD/DVD/BD Drives) Displejs un Show Classic navigācijas Tree rūts 7 Windows Explorer (lietotājiem mapi, Control Panel, Recycle Bin un CD / DVD / BD diski)
- Use Vista SendTo Folder to Add or Delete Send To Menu Items or Shortcuts Izmantojiet Vista SendTo Mape uz Pievienot vai Dzēst Nosūtīt uz izvēlni preces vai Shortcuts
- Fast Empty Folder Finder to Clean Up Your Desktop System Fast Empty Folder Finder, lai attīrītu savu Desktop System
- Simple Tips on How to Setup Favorite Folder Directory in Firefox Web Browsers for Quick File Access Vienkāršā padomus par to Setup Favorite Mape direktorijas Firefox Web pārlūkprogrammas "ātro File Access










































August 28th, 2009 03:54 Augusts 28, 2009 03:54
Using this post and info from Izmantojot šo amatu un info no 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. Es pieced kopā šo vienu līniju komanda īstenot "Empty Folder Contents" reģistrācijas atslēga. 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. Tas dod brīdinājumu ar pauzes, kas var būt tweaked (es nevarēju saprast, kā lai to atzīt jā vai nē un atmest vienā rindā komandu) un svītrots visu direktorijā, ietverot tukšus direktorijus.
Just follow this post and put the following in for the Default Command in the registry: Izpildiet šo amatu un nodod šādus par noklusējuma reģistra komandu:
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 "echo Esi uzmanīgs - X no loga, ja nevēlaties, lai izdzēstu direktoriju saturs & & Pauze & & echo LAST WARNING - visi faili un subdirectories tiks svītroti & & Pauze & & cd / d% 1 & & del / s / f / q *.* & & uz / f "usebackq delims ="%% d in ( `" dir / ad / b / s | sort / R "") do RD "%% d" "
May 6th, 2009 04:17 6 maijs 2009 04:17
greatest thing i have ever encountered. vislielākā lieta, ko es jebkad ir sastopami. imagine that the internet is ACTUALLY helpful iedomājieties, ka internets ir patiešām noderīga
March 20th, 2009 02:31 20 marts 2009 02:31
hi i can see the context menu when i right click but when i click the menu it says hi i var redzēt konteksta izvēlne, kad es labo klikšķi, bet kad es noklikšķiniet uz izvēlnes ir teikts,
“This file does not have a program associated with it for performing this action.Create an association in the Folder Options control panel "Šis fails nav programmas, kas saistītas ar to, kas īsteno šo action.Create asociācija Folder Options kontroles panelis
October 29th, 2008 03:23 29 oktobris 2008 03:23
be careful cutting and pasting from the web page into regedit. esiet uzmanīgi izgriežot un ielīmējot no mājas lapu 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. Var gadīties, ka "dubultās pēdiņas", nokopēts no interneta lapas nav tādi paši kā pēdiņas vajadzīgas komandu.
It didn't work for me until I deleted and reenterd the “double-quotes” in regedit. Tas nav darbs mani, kamēr es svītro un reenterd dubulta quotes "in regedit. Now it works fine. Tagad works fine.
Its a bit dangerous tho. Tā mazliet bīstamas tho. Is there a way of poping up a dialog box “Are you sure?” ??? Vai ir veids, kā poping līdz dialoglodziņš "Vai esat pārliecināts?"?
October 23rd, 2008 10:41 23 oktobris 2008 10:41
Ty Myrick, Ty Myrick,
In other words, you want to get all of the files in a subfolder structure and put them in a single folder. Citiem vārdiem sakot, jūs vēlaties saņemt visus ar apakšmapi struktūras failu un nodot tos vienā mapē.
Use the first comment from alias above, Izmantojiet pirmo komentāru alias iepriekš
but instead of delete all the files, cut these files and then paste into a new and empty folder. bet tā vietā, lai dzēstu visus failus, grieztu šos failus un pēc tam ielīmēt jaunu un tukšu mapi.
October 16th, 2008 04:59 16 oktobris 2008 04:59
Is there any way to do the reverse of this? Vai ir kāds veids, kā to mainīt uz šo? Sometimes I want to delete a subfolder structure without deleting the files within it. Dažreiz es vēlos izdzēst apakšmapi struktūra, neizdzēšot failus tajā. Is there any way to delete a folder and move the files up in the hierarchy? Vai ir kāds veids kā izdzēst mapi un pārvietot failus izveidota hierarhija?
October 11th, 2008 00:35 11 oktobris 2008 00:35
hey! hei! 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? Ko darīt, ja es gribēju izdzēst visu saturu mapi, izmantojot konteksta izvēlni, ko string man vieta dafault atslēgu?
October 11th, 2008 00:29 11 oktobris 2008 00:29
this is great thanks Tas ir liels paldies
October 8th, 2008 00:48 8 oktobris 2008 00:48
What are the symbols that look like reverse Bs? Kādas ir simboli, kas izskatās kā mainīt Bs?
in the string. in string. I tried copying and pasting and the symbols turned to &&. Es mēģināju kopēt un ielīmēt un simboli pagriezās pret & &. Right clicking a folder showed the string entered in the reg not empty folder contents Tiesības noklikšķinot mapi parādīja virkni ieraksta reg nav tukša mapes saturu
October 7th, 2008 18:24 7 oktobris 2008 18:24
[...] delete and remove the files, but not the folders that storing the files. [...] Dzēst un izņemt failus, bet ne mapes, uzglabāšana failus. 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 [...] Tur ir triks, lai pievienotu "Empty Folder Contents" konteksta punkts stājas labo klikšķi konteksta izvēlnes (līdzīgi kā lietotāju piekļuves "Dzēst" funkcija), kas [...]
October 7th, 2008 02:22 7 oktobris 2008 02:22
Hi, [alias] said it all, F3 does work. Hi, [alias] said to visu, F3 nav darbā. 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. I've tried editing reģistra, kā teikts iepriekš Padoms x64 Windows Vista, instrukcija parādās labajā noklikšķiniet uz izvēlnes, taču netiek izdz neko.
October 7th, 2008 00:09 7 oktobris 2008 00:09
an alternative would be to press F3, use * to search for all the files in folder. alternatīva būtu nospiediet F3, izmantojiet * meklēt visus failus mapē. Sort by type and delete all the files and separate out all the subfolders. Kārtot pēc veida un dzēst visus failus un izdalīt visas apakšmapes. Would take a few seconds, would work on any computer instead of having to edit the registry. Vai veikt dažas sekundes, tas strādā jebkurā datorā, tā vietā, lai rediģētu reģistru.