Closed

Deleting folder without deleting its' contents

I would like to delete a folder without deleting its contents. Copy, Paste and then deleting the folder with its' contents etc can work. But is there any way of getting it as a windows context menu? ie right-clicking and selecting "delete folder but not contents"

Thanks & Regards
florodesignertiles@yahoo.co.in
40 answers Last reply
More about deleting folder deleting contents
  1. Your question makes no sense. The contents of a folder will be gone if the folder is deleted. Has been like that since the 1st PC.
  2. The folder's contents have to go somewhere (i.e. another folder.) If the option you wanted, "delete folder but not contents", actually existed, where would you expect the contents to be afterwards?
  3. n3f0ur said:
    Your question makes no sense. The contents of a folder will be gone if the folder is deleted. Has been like that since the 1st PC.

    :lol:
  4. I Understand your question. Im trying to figure out this also. My iTunes cant find my songs because I put them into a folder. I wanted to remove the contents of the folder back to their original place or find a way to remove them from the folder or delete the FOLDER itself so that the contents will be back in theri origional place.
  5. OK, but you can't delete the folder, because that will also delete the songs. You first have to move the songs from that folder to wherever they originally were for iTunes. On my PC, it's My Documents/My Music/iTunes/iTunes Music where I can see all my album folders.
  6. n3f0ur said:
    Your question makes no sense. The contents of a folder will be gone if the folder is deleted. Has been like that since the 1st PC.

    here is a context for the perfectly rational need for this function.my music files come up as single file icons and or folders,normal,but now i find that i would prefer to have each track/file come up as an individual item.not in cd automatically generated folders..i as for where would they go? i would expect the files to stay in the My Music folder,without any subfolders .thats is what finds me on this google hunt as i ponder how?any help welcome ,thomas
  7. yes,right click an option "remove selected folders,keep contents" yes it has been like that since the first computer. how stupid.its a logical command,remove groupings
  8. show file view?
  9. I might be missing something, but can't you just use Search.

    Go to the Main Folder > click on Search > type in *.* > hit Enter > then sort the results by Type (the folders will be at the top and the files will be below them) > then just copy and paste what you want
  10. Copy and paste or drag and drop. Whew. :lol:
  11. badge said:
    Copy and paste or drag and drop. Whew. :lol:

    copy what to what ?
    be patient, learner
  12. i am talking about a few hundred folders.
  13. thomasvladimir said:
    copy what to what ?
    be patient, learner


    thomas read the OP's post and his original question. It makes no sense like n3four noted. I echo what toshi91 replied to you're earlier question about you're music files:

    Quote:
    "I might be missing something...just copy and paste what you want"
  14. florodesignertiles said:
    I would like to delete a folder without deleting its contents. Copy, Paste and then deleting the folder with its' contents etc can work. But is there any way of getting it as a windows context menu? ie right-clicking and selecting "delete folder but not contents"

    Thanks & Regards
    florodesignertiles@yahoo.co.in





    :sol:
  15. badge said:
    thomas read the OP's post and his original question. It makes no sense like n3four noted. I echo what toshi91 replied to you're earlier question about you're music files:

    Quote:
    "I might be missing something...just copy and paste what you want"

    what i want is that when i open" my music" i see only files.not folders,that the files,now in folders shed the folders.
  16. Quote:
    what i want is that when i open" my music" i see only files


    So files have been entered the My Music folder. But not placed in a folder originating from the My Music toolbar (new folder).

    Quote:
    .not folders


    Yeah, you have to make a folder from the My Music toolbar to put those random files into.

    Quote:
    ,that the files


    Yeah, the random file have to be put into folders from the My Music task bar, remember.

    Quote:
    now in folders shed the folders.


    If the files are in folders, someone put them there. To 'shed' the folder simply drag the music files out. Then delete the folder. Solved.
  17. n3f0ur said:
    Your question makes no sense. The contents of a folder will be gone if the folder is deleted. Has been like that since the 1st PC.

    500 times?
  18. someone did not put them in folders,as they are cds they are automatically in cd folders as opposed to my mp3 files.
  19. Assuming that all your music files are within this folder "My Documents/My Music" and that they are all MP3 files, then:

    1: Go to My Documents/My Music
    2: Click on Search at the top
    3: In the Search Box, type in: *.mp3
    4: Hit enter or click on Search
    5: After it's done searching, hit: Ctrl-A (select all)
    6: Copy everything and paste it in the Main folder
    7: It might ask you if you want to replace some of the files, just click on Yes to All.
  20. Select ALL!!!!!!!!!! Whew. ;)
  21. tosh9i said:
    Assuming that all your music files are within this folder "My Documents/My Music" and that they are all MP3 files, then:

    1: Go to My Documents/My Music
    2: Click on Search at the top
    3: In the Search Box, type in: *.mp3
    4: Hit enter or click on Search
    5: After it's done searching, hit: Ctrl-A (select all)
    6: Copy everything and paste it in the Main folder
    7: It might ask you if you want to replace some of the files, just click on Yes to All.

    they are not all mp3s
  22. thomasvladimir said:
    they are not all mp3s


    Then try this:

    1: Go to My Documents/My Music
    2: Click on Search at the top
    3: In the Search Box, type in: *.*
    4: Hit enter or click on Search
    5: After it's done searching, click on View in the Menu Bar, and select Details
    6: Then sort everything by Type, this will put the folders at the top and the files below it.
    7: Highlight and Copy whichever files you want, and paste it in the Main folder
    8: It might ask you if you want to replace some of the files, just click on Yes to All.
  23. First, let me say i understand the issue; something that seems lost on many replies.

    For clarification, the OP wishes to simply remove ALL files that have been nested in directories and subdirectories of the 'music' directory by the music application to the root of the 'music' directory. For whatever reason, it is easier for the OP this way. It is not for me to judge.

    next, the last reply is correct. I just thought i'd type up a n000b hand-held version of the simplest, non-CLI way i can think of completing the task. it involves opening one or two explorer windows, performing an advanced search, and drag/dropping the results to the final destination. Note, this is from XP Pro, but should be very similar in most flavors of windows.

    1. open the music folder (the directory where you ultimately want all of your loose files to reside--My Documents/My Music most likely)

    2. click the Start button (lower left of the screen) then Search -> for Files & Folders

    3. in the left pane, choose the little green arrow pointing to 'all files and folders'

    4. Use the 'look in' pulldown menu to select 'browse'; choose the 'My Music' directory inside 'My Documents'

    5. leave the 'all or part of the file name' field blank
    [post edited for clarity]

    6. click search

    7. that will show ALL files in the directory, including the directories. click the grey header named 'type' to sort the results.

    8. with the results sorted, you can easily select all the music files by click-dragging a box around them without selecting the unwanted directories as well.

    9. with the music files selected, click and drag them to the folder/directory you opened in step 1.

    10. with all the files now in the root of the 'My Music' directory, click the 'type' column of the 'My Music' directory to easily select the empty folders.

    11. drag them to the bin
  24. Is that a "apostrophe period apostrophe" ('.') in step 5? I think you meant asterisk period asterisk (*.*)

    And thomasvladimir, be sure to let us know if it works.
  25. actually in step 5 i was trying to call out just a single dot.

    but, in practice i discovered explorer will not search for the dot. but, no it was not inteded to be a *.* wildcard search, though that would work fine, leaving the field completely blank will yield the desired results.

    sorry for the confusion. i will edit the post for clarity.
  26. I also have the same issue, and it's because itunes was set to structure the files that way, if I wanted to have windoze index all me files I'll be able to search them, but until then it'll take a week for me to be able to see them in a format that I can select all copy/paste the files to a new directory, problem is the 3 computers I've used to do that have all frozen for hours when I finally manage to right click on the files... computer freezes, becomes non responsive for hours one system is an AMD Athlon II X245 2.9G w/ 4GB RAM the other is an Athlon 64 w/ 3GB RAM, tried both systems doing the same ultimate task, in ubuntu 9.04, windoze xp, windoze 7 free trial from microsoft technet... we're talking 600 GB of data, just too much for the os to handle, lots of room for the pagefile, RAM fill is 50 - 60%....

    Therefore, could someone be so kind as to lead one of us in the right direction here? I want to be able to copy all of the files (*.mp3), nothing else, over to a separate folder, call it Mp3 for now, and then set itunes loose on it again. Provided there are no errors in transfer, once itunes is complete, I want to delete all of that old structure.

    Thank you for your time!
  27. If you can't right click on them, then all you have to do is hit Ctrl-Insert. That's the hotkey for copy.
  28. ok, i have the similar question.


    Folder A/Folder B/Folder C/file A,B,C,D...
    Folder A/Folder B/file a,b,c,d...
    Folder A/Folder D/file 1,2,3,4...
    Folder A/Folder E/Folder F/Folder G/Folder K/file 00,01,02,03,04...
    ....

    How do you merge all files(ABCD's, abcd's, 1234's, 00....) in to Folder A and get rid of Folder B,D,E,F,F...?

    Now, these files have different extension so searching is impossible.
    I can do them manually, but it'll take forever. Let's say 1000 folders.
  29. "your question makes no sense...." blah blah blah. god i hate people like you. have you always been an unhelpful d*ckhead? somebody asks a perfectly viable question and theres always somebody that behaves like a tw*t. you must be stupid then as i and most other people reading that fully understood it. just because you were bullied at school and had/ have no (real) friends, doesnt give you cause to be a w*nker with people. makes my blood boil. i found this question because i typed in the exact same thing on google. hello to everyone else!
  30. Quote:
    "your question makes no sense...." blah blah blah. god i hate people like you. have you always been an unhelpful d*ckhead? somebody asks a perfectly viable question and theres always somebody that behaves like a tw*t. you must be stupid then as i and most other people reading that fully understood it. just because you were bullied at school and had/ have no (real) friends, doesnt give you cause to be a w*nker with people. makes my blood boil. i found this question because i typed in the exact same thing on google. hello to everyone else!



    I don't know if I should condemn you for your stupidity or marvel at your ability to form words.

    w*anker? :lol: Wanker...wanker...wanker...wanker.
  31. the problem i am having with doing this is that for some reason some of the file names are unable to be moved/written in the new directory. Is there a program of some sort or anything else that may be able to perform this action?
  32. How about this one,surely it can be done? I have a 8gb usb with one folder in the root with 6gb of contents,now I want the 6gb contents in the root of the usb without the original folder........(yes a option of "delete folder but not contents" would be great) of course usually you would open the folder and copy all contents/or drag to the root then delete the original folder with contents leaving the root with just the files,but in this circumstance there wouldn't be enough memory,so I'd have to just have to wipe the usb and copy the files from the pc without the folder. Little inconvenience maybe.....but when copying between 4and 7gb were talking about an extra 30 mins of wasted time,which could simply be avoided with a delete folder but not contents option.
  33. easy way to do this is by:

    1) click start, run, type cmd and press ctrl+shift+enter ( to open with admin rights)
    2)type the word *move* then the full directory of where the your files are located then space then where you want them to go, ie *move c:\windows\temp c:\temp*

    Hope that helps.
  34. hehehe... Funny question.. ;-0 . . .. . .
  35. jakesir said:
    ok, i have the similar question.


    Folder A/Folder B/Folder C/file A,B,C,D...
    Folder A/Folder B/file a,b,c,d...
    Folder A/Folder D/file 1,2,3,4...
    Folder A/Folder E/Folder F/Folder G/Folder K/file 00,01,02,03,04...
    ....

    How do you merge all files(ABCD's, abcd's, 1234's, 00....) in to Folder A and get rid of Folder B,D,E,F,F...?

    Now, these files have different extension so searching is impossible.
    I can do them manually, but it'll take forever. Let's say 1000 folders.

    see this
    http://www.google.ca/url?sa=t&source=web&cd=1&ved=0CBcQFjAA&url=http%3A%2F%2Fwww.bulkrenameutility.co.uk%2F&ei=ThL6Td6zGce_gQfovc2SBQ&usg=AFQjCNFLmOPhUTlVXExYoro5EWZ24LhabA

    as for the rest of this topic, holy mother of god. I am impressed at the stupidity. If you don't understand how folders/computer works, maybe you should learn it, instead of calling people stupid...

    oh and one more thing, STOP USING ITUNES
  36. OLD post! may 2009!
  37. @AntiZig

    Please se my last post above and change the directory path to your own location
  38. broxibear said:
    @AntiZig

    Please se my last post above and change the directory path to your own location

    sorry but I wasn't the one asking for help... read your own posts
  39. try to arrange the folders by song, if your using windows seven (or any other ones with this similar option)
    in the upper right hand corner under the little search bar, try to click on the "arange by" and then click on "songs"
    then you will see alll your music withough the folders, so then you can copy and paste in one shot :D
    i hope this helped, and if not, i apologize for that :/
  40. Well its not the easiest thing to do basically what you need to do is;
    copy the files you want to get the songs out of to a new folder
    Search the folder for the type of file you want to separate ie music. Grouping by file type may help with this
    Select all the files using shift or ctrl+a
    paste them into the folder you need the files in ie My Music
    Delete the folder you made and all the folders are gone and you are left with just the music files (shift delete to permanently delete it)

    I do this with movie files downloaded with Torrents to get rid of the folders and the crap that comes with them instead of individually moving the movies out of the file.

    Regards
    The Colonel
Ask a new question

Read More

Configuration Internet Explorer Windows XP