Messages - jovejupiter [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6next
11
I've been looking for a simple way to seek out and delete empty folders within a folder tree but there doesn't appear to be any suitable software on the web.

The user would give the program the identity of a folder and the program would present a list of all empty sub-folders in the tree leading from the given folder. The user could then select folders to delete.

Does anybody know of a suitable program out there or feel like coding one?

12
Thanks,

I'll try it out over the next few days with a macro that saves a file as part of the process. That way I can use the timestamps to see what times it runs the program.

Cheers

Tony

13
Hi Skrommel,

The original script renames all of the files in the same way (none are missed out) but the sequence of the parts in the new file names is incorrect.

Changing the input parameters results in the rename working correctly for some files but some are left unchanged.

Cheers

Tony

14
Hi PhilKC,

Your suggestion for start up settings would be fine - I'll look forward to seeing version 1.1

Cheers

Tony

15
Hi again Skrommel,

I converted the original script to an exe without any modifications and dragged the 15 files to the desktop icon.

All 15 file names were changed, with the format:

series-date-001-episode.txt    to    test-series-date-001-episode.txt

The input part of the script reads:

separator   =-<space>            ;Char(s) separating the parts of the input filename, use <space> for space
oneseparator=1                   ;0=No 1=Yes  Treat the separator as one unit?
outpattern  =<4><2>test<2>-<1>   ;Pattern of the output filename
inpattern   =<1>- <2>- <3>- <4>  ;Pattern of the input filename, not in use, just to explain!

If I'm reading the code correctly I would expect this to do nothing to the files in this case as the separator is - and not -<space>

If it accepted the spacer it should end up with file names of the form:

episode-datetestdate-series.

Regards

Tony



Pages: prev1 2 [3] 4 5 6next
Go to full version