Batch delete empty folders
Date: Feb 4th, 2006 2:02:33 am - Subscribe
Mood: electrified
boogidaboogida: Notpad++
For future reference:
To delete a bunch of empty folders using notpad++, these are the steps:
a.) use command prompt
1.) Go to Directory
2.)
code:dir /ad/b/s | sort /r >filename.bat
3.)open batch in notpad++
4.)Ctrl-H something at start of line and replace with
code:+ stuff to be replacedrd "
5.)Ctrl-H and Regular Expression on
6.) Search for $, replace with "
7.) run bat file.
More help here:
http://www.pcmag.com/article2/0,1759,805015,00.asp
Comments: (0)
Only registered / logged in members can post comments on this blog entry.