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.

The empty folder contents trick also works in Windows Vista tukšas mapes saturu, triks arī darbojas Windows Vista . .

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.


12 Responses to “Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC” 12 Atbildes uz "Tips of Kā dzēst mapes saturu, tajā pašā laikā saglabājot mapju koku struktūru Windows XP PC"

  1. Paul M. Paul M.
    August 28th, 2009 03:54 Augusts 28, 2009 03:54
    12 12

    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" "

  2. nigel Nigel
    May 6th, 2009 04:17 6 maijs 2009 04:17
    11 11

    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

  3. Alexander Char Alexander Char
    March 20th, 2009 02:31 20 marts 2009 02:31
    10 10

    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

  4. anonymous anonīms
    October 29th, 2008 03:23 29 oktobris 2008 03:23
    9 9

    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?"?

  5. snpages.info snpages.info
    October 23rd, 2008 10:41 23 oktobris 2008 10:41
    8 8

    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.

  6. Ty Myrick Ty Myrick
    October 16th, 2008 04:59 16 oktobris 2008 04:59
    7 7

    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?

  7. jase07 jase07
    October 11th, 2008 00:35 11 oktobris 2008 00:35
    6 6

    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?

  8. jase07 jase07
    October 11th, 2008 00:29 11 oktobris 2008 00:29
    5 5

    this is great thanks Tas ir liels paldies

  9. Bob Learmonth Bob Learmonth
    October 8th, 2008 00:48 8 oktobris 2008 00:48
    4 4

    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

  10. Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders » My Digital Life Pievienot "Empty Folder Contents" Lai Vista Right Click Context Menu Uz nenoņemot Mapes »My Digital Life Faili Dzēst
    October 7th, 2008 18:24 7 oktobris 2008 18:24
    3 3

    [...] 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 [...]

  11. Alexandre Alexandre
    October 7th, 2008 02:22 7 oktobris 2008 02:22
    2 2

    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.

  12. alias alias
    October 7th, 2008 00:09 7 oktobris 2008 00:09
    1 1

    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.

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Jūs varat izmantot šos tagus: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Saņemt informāciju par jaunāko komentārus, parakstīties uz My Digital Life Comments RSS feed Mana Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Ienākošo Meklēt noteikumi pants

delete files not folders dzēst failus nevis mapes - -- delete tree dos izdzēst koks dos - -- delete folder contents izdzēst mapes saturu - -- how to delete folder Lai izdzēstu mapi - -- cmd delete folder and contents cmd izdzēst mapi un saturs - -- "delete folders but not files "dzēst mapes, bet ne failus - -- delete files but not folders dzēst failus, bet ne mapes - -- delete tree cmd izdzēst koks cmd - -- REMOVE ALL FOLDER ,CMD Izņemt visu mapi, CMD - -- remove directory tree but not files izņemt direktoriju koks, bet ne failus - -- delete files from tree izdzēst failus no koka - -- delete folder Dzēst mapi - -- delete folders from registri izdzēst mapes no reģistri - -- cmd del folder and content cmd del mapi un saturs - -- command to delete all files and folder within a folder komandu, lai izdzēstu visus failus un mapes, kas mapē - -- delete files but not folders + dzēst failus, bet ne mapes + - -- delete tree xp izdzēst koku xp - -- empty directory contents command tukša direktorija satura komanda - -- Folder.DeleteTree Folder.DeleteTree - -- FolderDeleteTree download FolderDeleteTree download - -- how to delete folder contents while maintaining folder tree structure in Windows Xp kā dzēst mapes saturu, tajā pašā laikā saglabājot mapju koku struktūra Windows XP - -- Registry delete tree c++ Reģistra izdzēst koks c + + - -- site:mydigitallife.info windows folder safe to delete site: mydigitallife.info windows mapi var droši dzēst - -- windows command delete folder windows komandu izdzēst mapi - -- cmd /c \"cd /d %1 && del /s /f /q *.*\" cmd / c \ "cd / d% 1 & & del / s / f / q *.* \" - -- cmd del tree cmd del koks - -- delete contents folder in cmd dzēst saturu map cmd - -- DeleteFolder DeleteFolder - -- delete folder conten Dzēst mapi conten - -- genuine advantage "delete folder" Genuine Advantage "Dzēst mapi" - -- c++ delete folder c + + izdzēst mapi - -- cmd delete tree cmd izdzēst koks - -- cmd + delete directory content cmd + DELETE direktorija satura - -- cmd del all folder content cmd del visas mapes saturs - -- command to delete all files but not folders komandu, lai izdzēstu visus failus, bet ne mapes - -- delete all files but not folders dzēst visus failus, bet ne mapes - -- delete pc command to delete one of files in subdirectory izdzēst pc komandu, lai dzēstu vienu failu apakšdirektorijā - -- delete folder content automatically izdzēst mapes saturs automātiski - -- how to delete contents of a directory cmd kā izdzēst saturu directory cmd - -- how to delete folder from folder using .net Lai izdzēstu mapi no mapes izmanto. neto - -- how to delete files not folders kā izdzēst failus ne mapes - -- not able to delete files and folder nevar izdzēst failus un mapes - -- delete empty folders cmd izdzēst tukšs mapes cmd - -- dos delete folder and sub dirs dos izdzēst mapi un sub dirs - -- xp del tree xp del koks - -- remove folder in folder izņemt mapi mapē - -- tree-like directory structure of windows XP koku tāpat direktoriju struktūru Windows XP - -- *>\*folder cmd *> \ * mape cmd - -- contents got deleted folder not saturs got svītrots mape nav - -- delete directory contents izdzēst directory saturs - --