Delete Folder Content Software

Page 1 of 5 123 ... LastLast

  1. Posts : 194
    Windows 7 Home Premium 64 bit
       #1

    Delete Folder Content Software


    Looking to delete content of a folder but want to keep the folder. I have to do this often for a flight simulator program. I cannot simply overwrite to files in to folder. So, I just would just like to do something like right click and empty the folder content but keep the folder. I googled and see how to go into my registry ,but wish not to do it that way. Is there software. Thanks..as usual.
      My Computer


  2. Posts : 4,466
    Windows 10 Education 64 bit
       #2

    You could likely write a batch file to do that.
      My Computer


  3. Posts : 10,485
    W7 Pro SP1 64bit
       #3

    chuckhig said:
    ...I have to do this often for a flight simulator program...
    alphanumeric said:
    You could likely write a batch file to do that.
    alphanumeric,
    Yep, batch file is probably the way to go.

    chuckhig,
    Can you tell us what you do next after the folder is empty? We can probably help you create the batch file if you tell us the folder involved and what happens next after the folder is empty. (e.g. do you copy new files from somewhere?)
      My Computer


  4. Posts : 194
    Windows 7 Home Premium 64 bit
    Thread Starter
       #4

    I just found an answer. I now have an option when I right click I have an option to empty folder content. It was added to my registry. When the folder in question is empty,I then add ie. new scenery colors or textures . Another example is often a developer provides another color or texture to replace the one I have,so I delete the folder content and add the new one. Hope I am making sense. You can see this by going to x plane forums . This is all related to flight simulation. See under scenery for example how new textures,etc are added. Thanks for your help. The only thing I don't like is that you better not make a mistake or it is gone forever. It doesn't go to the recycle bin. It just goes. Say I wanted to remove option this from my registry..how would I do that Thanks. Chuck
      My Computer


  5. whs
    Posts : 26,210
    Vista, Windows7, Mint Mate, Zorin, Windows 8
       #5

    Why all this trouble. What's wrong with just highlighting all the files in the folder and then delete them all together in 1 swing. Open the folder and press CTL+A to highlight all files.
      My Computer


  6. Posts : 10,485
    W7 Pro SP1 64bit
       #6

    chuckhig said:
    I just found an answer. I now have an option when I right click I have an option to empty folder content. It was added to my registry. When the folder in question is empty,I then add ie. new scenery colors or textures . Another example is often a developer provides another color or texture to replace the one I have,so I delete the folder content and add the new one. Hope I am making sense. You can see this by going to x plane forums . This is all related to flight simulation. See under scenery for example how new textures,etc are added. Thanks for your help. The only thing I don't like is that you better not make a mistake or it is gone forever. It doesn't go to the recycle bin. It just goes. Say I wanted to remove option this from my registry..how would I do that Thanks. Chuck
    Did the flight sim software add this "empty directory" to your registry? If not, then how did it get there? Knowing how it got there helps us know how to help you get it out of there.

    Here is how I would go what you are doing:
    put the files to be added into a "from folder"
    copy a batch file (that we will write) to that "from folder"
    run that batch file


    You can keep as many "from folders" as you have room for. You can switch back to any old one by double clicking on the batch file in the old "from folder" of interest.

    If this sounds like something that you would like to try, the tell me the name of the folder that these files go into.
      My Computer


  7. Posts : 194
    Windows 7 Home Premium 64 bit
    Thread Starter
       #7

    Registry


    Add Empty Folder Contents to Windows Right Click Context Menu This is where I got it. I like your option better. Can I delete this registry entry?
    Last edited by Brink; 07 Feb 2014 at 14:07. Reason: fixed link
      My Computer


  8. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #8

    In addition, you could also use step 8 or 9 below to delete all contents of a folder without deleting the folder.

    File - Delete from Command Prompt
      My Computer


  9. Posts : 10,485
    W7 Pro SP1 64bit
       #9

    chuckhig said:
    Add Empty Folder Contents to Windows Right Click Context Menu This is where I got it. I like your option better. Can I delete this registry entry?
    Manually create a restore point and then edit the registry as desired.

    If you do not feel comfortable editing the registry manually, I might be able to create a reg file that you can merge to undo what the other reg file added. However, I'm on a computer that cannot open RAR files. So, I would need you to right click on the reg file that you used to add the info to your registry and send that file to a Compressed (zipped) folder. Then upload that zipped file to your next post.
      My Computer


  10. Posts : 194
    Windows 7 Home Premium 64 bit
    Thread Starter
       #10
      My Computer


 
Page 1 of 5 123 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 20:04.
Find Us