My code also uses the -Force option to delete hidden and read-only files as well.
Download given answers will only delete files (which admittedly is what is in the title of this post), but here's some code that will first delete all of the files older than 15 days, and then recursively delete any empty directories that may have been left behind. The solution of hiding the libraries was discovered by KeithM in the Microsoft forums, and I’ve created a REG file for the same. That hides the Camera Roll and Saved Pictures Libraries! Here you can see the paths are updated in the registry as well, using any of the above methods. Since these three are special folders, Windows respects the new path setting and should write to the new path from now on. You’ve now permanently removed the Camera Roll, Saved Pictures, and Screenshots folders, leaving your profile’s Pictures folder clutter-free.
Screenshots folder (under “Pictures”) is where the Print screen images (WinKey + PrintScr key) are stored by default. Similarly, relocate the Saved Pictures folder, and the Screenshots folder if required. Open the destination path, right-click an empty area, and choose Paste. In my case, I created a folder named My Pictures folder in the D:\ drive where all such stuff goes in. Go to the destination folder or drive where you want to folder to be moved to. Open your Pictures folder Simply right-click, Camera Roll and choose Cut Method 2: Simple “Cut” and “Paste” Relocates the Special folders this moves all the files to the new location and clears out the old folder. If the destination folder doesn’t exist, you’ll be prompted to create it. Replace the current location with the new destination path. Right-click on the Camera Roll folder, click Properties and access the Location tab. Method 1: Move the folders using the Location tab Any future file creations will be in the new location. If you relocate it either using the Locations tab or using a Cut and Paste operation as in Method 2, the folder will be automatically relocated and the registry values will then point to the new location. The easiest way to permanently remove Camera Roll and Saved Pictures from your Pictures library is to relocate them using the Locations tab, to move them outside your profiles folder or to a different drive. Remove/Hide Camera Roll and Saved Pictures Libraries themselves Removing Camera Roll and Saved Pictures Folders.Remove Camera Roll and Saved Pictures Folders from Pictures Library.Since these folders are present under the profile’s Pictures folder, they show up in the Pictures Library as well. It’s not these folders themselves or the related app that cause minor irritation to users, but the location in which they’re present. Removing the Photos or the Camera app may not be the solution you’ll prefer, and doing so can be overkill. No matter how many times you delete the Camera Roll and Saved Pictures folders, they simply recreate automatically after some time.
Some users who don’t use these folders or features and are looking how to permanently delete the Camera Roll, Saved Pictures, and the Screenshots folders.