Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC Patarimai, kaip Ištrinti katalogą Turinys išlaikant struktūrą ir aplankus, Windows XP kompiuteryje

Have you came across a scenario whereby you want to delete all files in main and sub folders while maintaining folder tree structure? Ar Jums atėjo per scenarijų, kuriame norite i ¹ trinti visus pagrindinių ir sub katalogų failus išlaikant struktūrą ir aplankus? 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. Pagal nutylėjimą Windows neteikia tokių funkcijų, o jums reikia tai daryti labai rankiniu būdu, kreipdamiesi į kiekvieną iš aplankų ir išryškinti visus failus, kuriuos norite ištrinti, po to mygtuką "Pašalinti" paspaudimu. You need to repeat the same action by going to each of the sub folders until all files have been deleted. Jums reikia pakartoti tą patį veiksmą, pereinama prie kiekvieno sub katalogų, kol visi failai buvo ištrinti. All these steps could be very time consuming and painful especially when the folder tree structure becomes more complicated. Visi šie žingsniai gali būti labai ilgas ir sudėtingas, ypač kai katalogų medžio struktūra tampa vis sudėtingesnis. 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. Dabar šios paprastas įrankis, galite ištrinti visus failus iš pagrindinių ir jos pogrupių katalogai išlaikant katalogų medžio struktūra yra tik keli žingsniai.



This feature can be enabled in right click folder menu by editing the registry key. Ši funkcija gali būti įjungta, dešiniuoju pelės mygtuku spustelėkite aplanką meniu redaguodami registro raktą. Just follow instructions as mentioned below and you are done: Tiesiog sekite instrukcijas, kaip nurodyta toliau, ir baigsite:

1) Go to Start -> Run, then type 'regedit' and press enter 1) Eikite į Start -> Run, įrašykite "regedit" ir paspauskite "Enter
2) Locate to HKEY_CLASSES_ROOT\Directory\shell 2) Raskite į 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) Paspauskite dešiniu pelės klavišu "priedangos" katalogą ir pasirinkite New -> Key, pavardė new sub klavišą "Empty Folder Turinys".
4) Right click on 'Empty Folder Contents' and choose New -> Key, name the sub key as 'Command'. 4) Paspauskite dešiniu pelės klavišu "Empty Folder turinys" ir pasirinkite New -> Key, pavardė Sub klavišą "Command".
5) Under the 'Command' sub key, double click on 'Default' as located at right panel. 5) Pagal "Command" sub klavišą, dukart paspauskite ant 'Default', kaip esantis dešinėje skydelio. A small Edit String window will be pop up, then enter this value: cmd /c “cd /d %1 && del /s /f /q *.*” Mažas Redaguoti reikšmę lange bus pop-up, tada ši vertė: cmd / c "CD / D% 1 & & del / S / F / Q *.*"
6) Click OK button to save the setting. 6) Paspauskite mygtuką OK, norėdami išsaugoti nustatymus.

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. Kai tai padaryti, dešiniuoju pelės mygtuku ant katalogo (kad ketinate i ¹ trinti turinį) ir jos pogrupių aplanko turinį, matysite "Empty Folder Contents" buvo įtrauktas į kontekstinį meniu. 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. Tiesiog spauskite ant jo ir visi šiame kataloge, taip pat sub failai bus ištrinti, neprarandant originalo struktūrą ir aplankus.

The empty folder contents trick also works in Windows Vista tuščias aplanko turinį Triukas taip pat veikia "Windows Vista" . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


12 Responses to “Tips of How to Delete Folder Contents While Maintaining Folder Tree Structure in Windows XP PC” 12 Responses to "Patarimai, kaip Ištrinti katalogą Turinys išlaikant struktūrą ir aplankus" Windows XP "PC"

  1. Paul M. Paulius M.
    August 28th, 2009 03:54 28 rugpjūtis 2009 03:54
    12 12

    Using this post and info from Naudojant šį postą ir informacijos iš 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. Aš pieced kartu tai viena eilutė komandą įgyvendinti "Empty Folder Contents" registro raktą. 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. Ji suteikia su pertraukėlės įspėjimas, kuris gali būti nežymiai (aš niekaip negalėjau suprasti, kaip jį atpažinti taip arba ne, ir mesti į vieną eilutę komandos) ir ištrina viską, katalogas, įskaitant tuščius katalogus.

    Just follow this post and put the following in for the Default Command in the registry: Tiesiog sekite šią žinutę ir įdėti į šį Numatytasis komandą registre:

    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 būkite atsargūs - X pro langą, jei nenorite ištrinti katalogo turinį & & & & echo pause paskutinis įspėjimas - visi failai ir pakatalogį bus ištrinta & & & & pause CD / D% 1 & & del / S / F / Q *.* & & for / f "usebackq delims ="%% "D" ( "" dir / Skelbimas / B / S | sort / R "") do RD "%% d" "

  2. nigel Nigel
    May 6th, 2009 04:17 6 gegužė 2009 04:17
    11 11

    greatest thing i have ever encountered. daugiausia, ką aš kada nors susidurti. imagine that the internet is ACTUALLY helpful įsivaizduoti, kad internetas iš tiesų yra naudingas

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

    hi i can see the context menu when i right click but when i click the menu it says Labas matau kontekstiniame meniu, kai dešiniuoju pelės mygtuku spustelėkite bet kai aš spustelėkite meniu ji sako
    “This file does not have a program associated with it for performing this action.Create an association in the Folder Options control panel "Šis failas nėra programa su ja atlikti šį action.Create Aplanko parinktys valdymo skydelis asociacija

  4. anonymous anonimiškas
    October 29th, 2008 03:23 29 spalis 2008 03:23
    9 9

    be careful cutting and pasting from the web page into regedit. Būkite atsargūs, pjovimo ir įklijuoti iš tinklalapio į 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. Galite pastebėti, kad "dvigubos kabutes" nukopijuotas iš interneto puslapis nėra kaip dvigubas kabutes reikalingos komandą pats.

    It didn't work for me until I deleted and reenterd the “double-quotes” in regedit. It didn't work for me, kol aš ištrintas ir reenterd "dvigubas kabutes-" in "regedit". Now it works fine. Now it works fine.

    Its a bit dangerous tho. Jos šiek pavojingų tho. Is there a way of poping up a dialog box “Are you sure?” ??? Ar poping iki Dialogo lange "Ar tikrai taip?"?

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

    Ty Myrick, Tu Myrick,
    In other words, you want to get all of the files in a subfolder structure and put them in a single folder. Kitaip tariant, jūs norite gauti visus į pakatalogį struktūros failus ir įdėti juos į vieną aplanką.
    Use the first comment from alias above, Naudoti pirmą komentarą alias aukščiau,
    but instead of delete all the files, cut these files and then paste into a new and empty folder. bet vietoj trinti visus failus, nukopijuokite šiuos failus ir tada įterpti jį į naują tuščią aplanką.

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

    Is there any way to do the reverse of this? Ar yra koks nors būdas padaryti šį atvirkštinės? Sometimes I want to delete a subfolder structure without deleting the files within it. Kartais aš noriu panaikinti pakatalogį struktūra neištrindami failus per jį. Is there any way to delete a folder and move the files up in the hierarchy? Ar yra koks nors būdas ištrinti aplanką ir perkelti failus į viršų hierarchija?

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

    hey! ei! 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? Ką daryti, jei noriu ištrinti visus aplanko turinį, naudojant kontekstinio meniu eilutės ką turėčiau vieta dafault raktas?

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

    this is great thanks Tai labai ačiū

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

    What are the symbols that look like reverse Bs? Kas yra simbolių, kurie atrodo kaip atvirkštinis Bs?
    in the string. į eilutę. I tried copying and pasting and the symbols turned to &&. Bandžiau nukopijuoti ir simboliai kreipėsi & &. Right clicking a folder showed the string entered in the reg not empty folder contents Dešiniuoju pelės klavišu aplanką parodė eilutę įrašyti reg nėra tuščias aplanko

  10. Add “Empty Folder Contents” To Vista Right Click Context Menu To Delete Files Without Removing Folders » My Digital Life Pridėti "Empty Folder Contents" Kad Vista dešiniuoju klavišu meniu "Delete Files nenuimant Katalogai» Mano skaitmeninis gyvenimas
    October 7th, 2008 18:24 7 spalis 2008 18:24
    3 3

    [...] delete and remove the files, but not the folders that storing the files. [...] Trinti ir šalinti failus, bet ne katalogus, saugojimo bylas. 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 [...] Yra apgauti pridėti "Empty Folder Contents" kontekstinė elementą į dešiniuoju pelės mygtuku spustelėkite kontekstinio meniu (panašiai, kaip vartotojo galimybes "Ištrinti" funkcija) ir [...]

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

    Hi, [alias] said it all, F3 does work. Sveiki, [slapyvardis] said it all, F3 ar darbo. 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 redaguoti registrą, kaip pasakė aukščiau į 64 bitų "Windows Vista" patarimas, nurodymas pateikiamas dešiniuoju pelės mygtuku spustelėkite meniu, bet ne trinti viską.

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

    an alternative would be to press F3, use * to search for all the files in folder. alternatyva paspauskite F3, naudokite * paieškai visus failus aplanke. Sort by type and delete all the files and separate out all the subfolders. Filtruoti pagal tipą ir ištrinti visus failus ir atskirų visus poaplankius. Would take a few seconds, would work on any computer instead of having to edit the registry. Ar gali užtrukti keletą sekundžių, turėtų veikti bet kuriame kompiuteryje, o ne atsižvelgdama redaguoti registrą.

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> Galite naudoti šiuos žodžius: <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. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

delete files not folders trinti failus ne katalogus - -- delete files but not folders ištrinti failus, bet ne katalogus - -- delete folder contents dos ištrinti aplanko turinį dos - -- delete folder content ištrinti aplanko turinio - -- dos delete folder contents dos ištrinti aplanko - -- dos delete folder and contents dos i ¹ trinti katalog ± ir jos turinys - -- delete folder but not contents i ¹ trinti katalog ±, o ne turinys - -- dos delete folder content dos ištrinti aplanko turinio - -- delete folder contents ištrinti aplanko - -- delete tree cmd trinti medis cmd - -- delete all folders in a folder i ¹ trinti visus katalogus į katalogą - -- delete folders but not files i ¹ trinti katalogus, bet ne failai - -- remove contents of folder pašalinti turinį aplanko - -- delete folder without deleting files i ¹ trinti katalog ± neištrindami failai - -- cmd delete tree cmd ištrinti medis - -- automatically delete folder contents automati ¹ kai i ¹ trinti katalog ± turinys - -- dos delete contents of folder dos ištrinti turinys katalogą - -- dos delete folder dos i ¹ trinti katalog ± - -- delete folders not files i ¹ trinti katalogus ne failai - -- delete folder content cmd ištrinti aplanko turinį cmd - -- delete all folder content i ¹ trinti visus aplanko turinio - -- cmd delete folder cmd ištrinti aplanko - -- delete directory tree windows trinti katalogų medis Windows - -- force delete folder Galiojantys trinti katalog - -- cmd delete folder and contents cmd trinti katalog ± ir turinys - -- delete folders without deleting files i ¹ trinti katalogus neištrindami failai - -- delete all files in directory tree Pašalinti visus katalogo medis - -- dos delete directory dos ištrinti katalogas - -- delete files not folder i ¹ trinti failus, kurie nėra kataloge - -- deleting files not folders pašalinti failus ne katalogus - -- delete directory content ištrinti katalogo turinio - -- remove folders not files pašalinti katalogus ne failai - -- windows delete directory tree Windows ištrinti katalogo medis - -- delete files but not folder command ištrinti failus, bet ne aplanke komanda - -- deleting tree structure windows xp command išbraukiant struktūrą ir Windows XP "komandą - -- how to delete all the content of a folder in cmd Kaip ištrinti visus kataloge turinio cmd - -- delete folders within a folder trinti aplankai aplanke - -- delete contents of folder trinti katalog turinys - -- delete files but not folder ištrinti failus, bet ne aplankas - -- delete all files not folders i ¹ trinti visus failus, kurie nėra aplankuose - -- how to delete a folder but not the contents kaip ištrinti katalogą, o ne turinys - -- HOW TO DELETE FOLDER IN CMD Kaip ištrinti aplanką, CMD - -- set delete of folder contents by date rinkinys ištrinti aplanko turinį pagal datą - -- delete folder contents command turiniui i ¹ trinti katalog ± komand - -- delete content folder windows ištrinti aplanką Windows - -- remove files but not folders pašalinti failus, bet ne katalogus - -- delete folder contents windows ištrinti aplanko turinį Windows - -- delete directory content only ištrinti katalogo turinio tik - -- delete directory tree ištrinti katalogo - -- HOW TO REMOVE A FOLDER WITHOUT DELETING CONTENTS Kaip pašalinti FOLDER neištrindami TURINYS - --