Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Delete Folder Content Software

07 Feb 2014   #1
chuckhig

Windows 7 Home Premium 64 bit
 
 
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 System SpecsSystem Spec
.
07 Feb 2014   #2
alphanumeric

Windows 10 Education 64 bit
 
 

You could likely write a batch file to do that.
My System SpecsSystem Spec
07 Feb 2014   #3
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by chuckhig View Post
...I have to do this often for a flight simulator program...
Quote   Quote: Originally Posted by alphanumeric View Post
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 System SpecsSystem Spec
.

07 Feb 2014   #4
chuckhig

Windows 7 Home Premium 64 bit
 
 

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 System SpecsSystem Spec
07 Feb 2014   #5
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

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 System SpecsSystem Spec
07 Feb 2014   #6
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by chuckhig View Post
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 System SpecsSystem Spec
07 Feb 2014   #7
chuckhig

Windows 7 Home Premium 64 bit
 
 
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?
My System SpecsSystem Spec
07 Feb 2014   #8
Brink

64-bit Windows 10 Pro
 
 

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 System SpecsSystem Spec
07 Feb 2014   #9
UsernameIssues

W7 Pro SP1 64bit
 
 

Quote   Quote: Originally Posted by chuckhig View Post
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 System SpecsSystem Spec
07 Feb 2014   #10
chuckhig

Windows 7 Home Premium 64 bit
 
 



My System SpecsSystem Spec
Reply

 Delete Folder Content Software




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Strange folder content
Hi, I'm new here and I'm not sure if this is the right forum. Anyhow I found one of old folders with strange content inside. Every folder and file inside have strange name (not assigned by me) and I can't delete these files because I get warning that there is a wrong name of the file, and I can't...
General Discussion
Delete folders and keep the content
I have a boring task. I make an archive of several years of a daily newspaper, and every number of this newspaper i laying in its own folder on the CD I've got. So I open the folders one by one and draw the only pdf-file inside for collecting them.:geek: My wish is to delete all the maps at once...
Customization
How to delete subfolder but not it's content
I have a few movies I've saved on the hard drive but it's a hassle to navigate to them e.g. /burns/fulldvd9/fulldisc. I want to delete the middle subfolder without messing with the contents in the full disc folder. I could save the contents to another location, delete the subfolder and then move...
General Discussion
Script or command to delete contents of Software Distribution folder?
Hi all. Anyone able to suggest a vbs (or command-line file) to clean out C:\Windows\Software Distribution\Download? Thanks, I'm aware of the significance (or lack of) of this folder, and I realize I could just drill down to it and manually dump the contents. I'm just looking for a more elegant...
Windows Updates & Activation
Cannot Delete Files from Software Folder
I have a bundled copy of Cyberlinks PDVD8 which is locking files in the VideoFilter folder - I can't take ownership of the files and get the message "Access Denied". When I try to reinstall the software it won't work because of the locked files. I can install it in another folder but the same...
General Discussion
Show folder content the way i want it.
Modifying this **** customize folder function in windows 7, I so loath it...ever since XP introduced it seldom has it gotten it right. My mp3 folder should always show as list, plain list. as much objects as possible makes use of the screen real estate as possible but every time i it resets to...
General Discussion


Our Sites

Site Links

About Us

Find 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 05:51.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App