XP: Delete Contents from Folder without Deleting Folders
There may be many instances where you would want to delete all the contents inside the folder, but wanted to maintain the folder structure as such. By default Windows does not provide any such option. If there are lots of folders inside a particular folder maintaining a folder structure, then its difficult to delete contents from all the folders. This task can be done using a registry entry.
To do this go to Start-> Run and type ‘regedit‘. In the registry, navigate to HKEY_CLASSES_ROOT\Directory\Shell key. Right click on ‘Shell’ and then create the ‘Empty folder Contents‘ sub key with the New|Key. then create the command key in the same way. Open ‘Default‘ by right clicking on it in the right hand side window. and fill it with the following entry- ‘cmd /c “cd /d %1 && del /s /f /q *.*.


Random Posts
- No 'Ishq' between Juhi and Kajol!!
- The Next Generation Internet Search Engine?
- Aamir Vs his Nephew
- Google Says Goodbye to Hello
- IIS NTFS Permissions
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.


Comments
No comments yet.
Leave a comment