gavioto / stexbar

Automatically exported from code.google.com/p/stexbar
0 stars 1 forks source link

"rme" AutoHotKey script submission #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
/*
removes empty folders.

really simple due to the way FileRemoveDir works 
(another flag is needed before it would remove a non-empty directory)

Recursive searching could be used... but why bother when you can use
scripts like this on search results!

By the way, selecting files doesn't matter (they're just ignored).
*/
Loop %0%
{
    folder := %A_Index%
    FileRemoveDir %folder%              ;this shouldn't be a problem for files, given
that Vista at least doesn't allow for a file and folder in the same
directory to have the same name.
}

QUIT:
return

Original issue reported on code.google.com by kijoshua...@gmail.com on 2 Aug 2008 at 3:50

GoogleCodeExporter commented 9 years ago

Original comment by tortoisesvn on 2 Aug 2008 at 4:17

GoogleCodeExporter commented 9 years ago
Compiled version (doesn't require AutoHotKey to run)

Original comment by kijoshua...@gmail.com on 2 Aug 2008 at 4:37

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 126 has been merged into this issue.

Original comment by tortoisesvn on 1 Jun 2010 at 5:57