No, crash happens when I hit rename button.
As I said, typically when sub-directories loaded.
Not sure where "switching to next group of folders" came from.
Don't see that phrase in any of my posts; but it is sometimes true I'm doing multiple groups of files and that the first rename is OK but 2nd or 3rd crashes. Sometimes crashes right away though.
When I move to a new batch I'm just using the folder list pane.

The common theme I'm seeing is that sub-directories are loaded; sometimes with very large number of files (100's or 1000's).

OK, Siren.ini sent

Hi Remi,

Seems to happen mostly when subdirectories are loaded and renaming muliple files across several folders..
Note that Siren frequently does not correctly update current file list in the situation described; but that's been so for a while now; I resolve with a manual refresh; probably not related, but worth mentioning.

Last time I was working with 6 folders, 787 files. Subdirectories loaded. Filter: *\[*.jpg
Found 8 files to rename. Manually checked 4 of them. Renaming using %p1(s/(.*) \((.*)/\1/i).%e
Exception occurred right after I hit Rename button, but files were successfully renamed.

Time before that working with 10 folders, 1,332 files. Subdirectories loaded. No filter.
Renaming using %p1(7,15)(" - ","_")(" ","")_%N{3,0,-1}.%e
Exception occurred as above; about 2/3 of files successfully renamed.
After restarting and selecting the remaining files exception occurred again but all renamed.

Happens with or without filters

This is a new install on Windows 7. I got tired of wrestling with windows 10 and rebuilt my machine clean with 7.
Not sure what else to tell you.
Below are event logs from last three times.
Let me know what else to provide.

daffdaemon


Log Name:      Application
Source:        Application Error
Date:          12/3/2017 7:27:12 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      P580
Description:
Faulting application name: siren.exe, version: 3.1.4.0, time stamp: 0x52bda8ac
Faulting module name: ntdll.dll, version: 6.1.7601.23915, time stamp: 0x59b94a16
Exception code: 0xc0000005
Fault offset: 0x0002e43e
Faulting process id: 0x2778
Faulting application start time: 0x01d36c8afa8be40b
Faulting application path: C:\Program Files (x86)\Siren\siren.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Report Id: de5d4a62-d889-11e7-b496-e006e6bf4da0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-12-04T00:27:12.000000000Z" />
    <EventRecordID>8520</EventRecordID>
    <Channel>Application</Channel>
    <Computer>P580</Computer>
    <Security />
  </System>
  <EventData>
    <Data>siren.exe</Data>
    <Data>3.1.4.0</Data>
    <Data>52bda8ac</Data>
    <Data>ntdll.dll</Data>
    <Data>6.1.7601.23915</Data>
    <Data>59b94a16</Data>
    <Data>c0000005</Data>
    <Data>0002e43e</Data>
    <Data>2778</Data>
    <Data>01d36c8afa8be40b</Data>
    <Data>C:\Program Files (x86)\Siren\siren.exe</Data>
    <Data>C:\Windows\SysWOW64\ntdll.dll</Data>
    <Data>de5d4a62-d889-11e7-b496-e006e6bf4da0</Data>
  </EventData>
</Event>


Log Name:      Application
Source:        Application Error
Date:          12/3/2017 6:02:37 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      P580
Description:
Faulting application name: siren.exe, version: 3.1.4.0, time stamp: 0x52bda8ac
Faulting module name: siren.exe, version: 3.1.4.0, time stamp: 0x52bda8ac
Exception code: 0xc0000005
Fault offset: 0x0069eb14
Faulting process id: 0x1f7c
Faulting application start time: 0x01d36c8a77c62d2a
Faulting application path: C:\Program Files (x86)\Siren\siren.exe
Faulting module path: C:\Program Files (x86)\Siren\siren.exe
Report Id: 0da4f9cc-d87e-11e7-b496-e006e6bf4da0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-12-03T23:02:37.000000000Z" />
    <EventRecordID>8507</EventRecordID>
    <Channel>Application</Channel>
    <Computer>P580</Computer>
    <Security />
  </System>
  <EventData>
    <Data>siren.exe</Data>
    <Data>3.1.4.0</Data>
    <Data>52bda8ac</Data>
    <Data>siren.exe</Data>
    <Data>3.1.4.0</Data>
    <Data>52bda8ac</Data>
    <Data>c0000005</Data>
    <Data>0069eb14</Data>
    <Data>1f7c</Data>
    <Data>01d36c8a77c62d2a</Data>
    <Data>C:\Program Files (x86)\Siren\siren.exe</Data>
    <Data>C:\Program Files (x86)\Siren\siren.exe</Data>
    <Data>0da4f9cc-d87e-11e7-b496-e006e6bf4da0</Data>
  </EventData>
</Event>

Log Name:      Application
Source:        Application Error
Date:          12/3/2017 5:59:31 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      P580
Description:
Faulting application name: siren.exe, version: 3.1.4.0, time stamp: 0x52bda8ac
Faulting module name: siren.exe, version: 3.1.4.0, time stamp: 0x52bda8ac
Exception code: 0xc0000005
Fault offset: 0x0060d700
Faulting process id: 0x30b4
Faulting application start time: 0x01d36c842e4987fb
Faulting application path: C:\Program Files (x86)\Siren\siren.exe
Faulting module path: C:\Program Files (x86)\Siren\siren.exe
Report Id: 9ed19a20-d87d-11e7-b496-e006e6bf4da0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2017-12-03T22:59:31.000000000Z" />
    <EventRecordID>8505</EventRecordID>
    <Channel>Application</Channel>
    <Computer>P580</Computer>
    <Security />
  </System>
  <EventData>
    <Data>siren.exe</Data>
    <Data>3.1.4.0</Data>
    <Data>52bda8ac</Data>
    <Data>siren.exe</Data>
    <Data>3.1.4.0</Data>
    <Data>52bda8ac</Data>
    <Data>c0000005</Data>
    <Data>0060d700</Data>
    <Data>30b4</Data>
    <Data>01d36c842e4987fb</Data>
    <Data>C:\Program Files (x86)\Siren\siren.exe</Data>
    <Data>C:\Program Files (x86)\Siren\siren.exe</Data>
    <Data>9ed19a20-d87d-11e7-b496-e006e6bf4da0</Data>
  </EventData>
</Event>

OS: Windows 7
Crash report:
  Fault Module Name:    ntdll.dll
  Fault Module Version:    6.1.7601.23915
  Fault Module Timestamp:    59b94a16
  Exception Code:    c0000005
  Exception Offset:    0002e43e
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

5

(9 replies, posted in Bugs and problems)

Nevermind... *\[* works

A brief tutorial in use of \ and / would be helpful.

6

(9 replies, posted in Bugs and problems)

I really, really wish you would issue a new version with the filter bugs fixed.

Do you have a work around to find all files which begin with [ in a batch of subdirectories.
[*
/[*
\[*
/\[*
*\\/\[*
*\\*\\/\[*
etc. etc.
Nuthin works. What am I doing wrong here?
After a bit I get totally confused with which /\ means what in which position
How about a straightforward everything in quotes is literal.
With a radio button to limit search to subdirectory contents

7

(2 replies, posted in Bugs and problems)

Files with names in the form: %40Dscn####.jpg
Siren is pulling in the folder name as part of the file name and rename fails.
I'm trying to get rid of the %40
I've tried
Dscn%N.%e
%f("%40","@")
%f("\%40","@")
all failed


PS Do you have a target date for next release?

8

(4 replies, posted in Bugs and problems)

Thank you, Stefan.
I've implemented your suggestion.
In 3 months haven't had a re-occurrence of the issue.
Still a mystery what happened on that one occasion.

9

(9 replies, posted in Bugs and problems)

I am having another filter problem.
I want to rename a batch of covers each in a separate folder where the folder name is the same as the cover base name.
The filter *\MM2007* or *\\MM2007* should give me just the covers from 3 folders.
I'm getting, instead, all files from those three folders.
I admit I don't quite understand the usage here of the extra \.
But one way or another I should be filtering out any file that doesn't begin with MM2007.
What am I doing wrong?

10

(9 replies, posted in Bugs and problems)

I like it, Remi.

I've also found myself wishing there was a simple way to invert the filter.
Like:  NOT *.jpg would show list with all .jpg files filtered out.
What do you think?

11

(7 replies, posted in Bugs and problems)

That's good to hear.
BTW I have ver 3.14 which is still the latest issue, correct?

12

(9 replies, posted in Bugs and problems)

Filter this list of files:
20031113 - Artist1; Artist3 - Album21.jpg
20041021 - Artist2; Artist3 - Album01.jpg
20041103 - Artist3; Artist1 - Album02.jpg
20041109 - Artist3; Artist1 - Album03.jpg
20050228 - Artist1; Artist2; Artist3 - Album10.jpg

*Artist1* gives me 4 files
*Artist2* gives me 2 files
*Artist3; Artist1* gives me 0 files

The semicolon is causing the filter to fail
If I remove it:
*Artist3 Artist1* gives 2 files

Filter also fails with subdirectories loaded.
If the list is a list of folders:
20031113 - Artist1; Artist3 - Album21
20041021 - Artist2; Artist3 - Album01
20041103 - Artist3; Artist1 - Album02
20041109 - Artist3; Artist1 - Album03
20050228 - Artist1; Artist2; Artist3 - Album10

Each folder contains 1 file like the folder name with .jpg extension and many other files with simply numbered filenames.
*Artist1* gives all files in 4 folders
*Artist1*\*Artist1* gives 0 files

Ah, Got it!!
*Artist1*\\*Artist1* gives 1 file from each of 4 different folders.

But *Artist3; Artist1*\\*Artist3; Artist1* still gives 0 files

13

(8 replies, posted in Evolution requests)

I just wanted to add a note here for those interested in this topic. While discussing another topic we came up with a solution that works pretty well here.
Example: I have a bunch of folders with non-descript names but the 1st file in each folder is a cover with a name in the form of "Date - Artist - Album.jpg"

step 1: for /D %i in (*) do @(dir /b /a-d /on "%i" > "%i\dirfiles.txt")   ;;run from cmd prompt OR
            cmd /C \"dir /b /a-d \"%f\" > \"%f\\dirfiles.txt\"\"                    ;;run on highlighted folders fom Siren Tools
step 2: %T{%fa(s/$/\\dirfiles.txt/),1};%b
step 3: for /D %i in (*) do @(del "%i\dirfiles.txt")          ;;run from cmd prompt OR
            cmd /C \"del \"%f\\dirfiles.txt\"\"                       ;; run on highlighted folders from Siren Tools

A variety of outcomes can be accomplished here by simple variations on the command parameters passed to the DIR command and by post-processing of the selected text line returned by %T

14

(7 replies, posted in Bugs and problems)

Stefan, while I applaud the benefits of your conservatism, by nature I ignore arbitrarily imposed limitations whenever possible. If an album is called "*\?" My folder that contains that will be " ٭\?"
[066D,FF3C,FF1F]
I encourage you towards the same & have a complete file of character substitutions I can send you if you would like.

15

(7 replies, posted in Bugs and problems)

The renaming express is irrelevant. As soon as I try to open a folder containing the character  ⁄ [2044]; I get the error message.
I did just notice something peculiar though.
Folder is named "date - artist1 w⁄ artist2 - album (xN)"
But the error box message reads:
Impossible to access to "W\path\date - artist1 w\ artist2 - album (xN)"
The unicode character ⁄ [2044] has been changed to the ascii character \ [92]

I don't understand why you can't duplicate the error though.
I just copied the exact name as typed above and pasted to a new folder in My Documents, moved a couple of files into the folder, and then tried to open the folder with siren. Got the error immediately.

I am using Siren Ver 3.14 in Windows 8.1

16

(13 replies, posted in How to ...)

Thank you all for the suggestions.
Remi, I've never tried the Tools option. When I get a chance I will give it a try.

So, perhaps you could add additional variable input & negative index numbers to your list of possible enhacements to %T.
Consider, too, returning multiple lines from the text file (ie 2-4, 0=all) for post-processing with regex (assuming the regex engine works on multi-line text strings, which I haven't tested)

Thanks again for the help.
I'm particularly pleased, now have an easy way to rename path from file names.

17

(7 replies, posted in Bugs and problems)

I sometimes use uni-code characters like ⁄ [2044] in folder & file names to get around typical file name limitations.
So I was trying to rename a batch of files in a folder with a name in the form:
date -  artist w⁄ artist - album (xN)
when I received this error:
   Impossible to access to "W:\...\foldername"
Files are all listed but rename, recompute, create copies,  undo, & redo buttons are all greyed out

I first thought path\filenames might be getting too long so I tried moving to a tmp folder at the root directory to shorten.
I discovered that didn't work but that I could list the tmp with subdirectories loaded and rename that way.
After a little more experimenting I came to conclusion it wasn't the length, but the uni-code character causing problems.
Interesting though that I can access  through subdirectory listing but not as normal listing.

18

(13 replies, posted in How to ...)

Remi, if you recall, a few months ago, we were talking about renaming folder based on files in the folder.
This same technique we used here would work for that, too.

Example: I have a bunch of folders with non-descript names but the 1st file in each folder is a cover with a name in the form of "Date - Artist - Album.jpg"

step 1: for /D %i in (*) do @(dir /b /a-d /on "%i" > "%i\dirfiles.txt")
step 2: %T{%fa(s/$/\\dirfiles.txt/),1};%b
step 3: for /D %i in (*) do @(del "%i\dirfiles.txt")

Voila!

One thing I noticed playing around with this. If the file I want to use as folder name is the last file, then the form:
%T{%fa(s/$/\\dirfiles.txt/),-1};%b
Doesn't seem to work.

19

(13 replies, posted in How to ...)

Remi, Thanks, Works like a charm.

step 1, run from cmd prompt, creates numfiles.txt:
   for /D %i in (*) do @(dir /b /a-d "%i" | find  /c /v "" > "%i\numfiles.txt")

step 2, run in siren, rename Filename >> Filename (xN) where N = number of files.
Note: Have to subtract 1 for numfiles.txt or 2 if thumbs.db exists
  %b - %T{%fa(s/$/\\numfiles.txt/),1};%b[1,-1] (x%N{1,-1,-1})

step 3, run from cmd prompt, deletes numfiles.txt
  for /D %i in (*) do @(del "%i\numfiles.txt")


BTW: Sorry about misplacing the post. Yes, please, move the thread to proper place.

20

(13 replies, posted in How to ...)

Stefan, Thanks for suggestion.
When I get some time I may download AHK and try out your script.
I think there is also a way using DOS rename in a batch file but haven't quite cracked how to pass variables to the rename command.
Sure would be nice if the %T function was enhanced as you suggested!

21

(13 replies, posted in How to ...)

Goal is to rename a list of directories by appending the number of files contained to the name:
   REN DirName DirName (xN) ;where N=# of files in the directory

Siren doesn't have a file count variable so I thought of using a textfile to save the file count & came up with this to generate the text file from the cmd prompt:
for /D %i in (*) do @(dir /b /a-d "%i" | find  /c /v "" > "%i\numfiles.txt")

So now I have numfiles.txt in each of the directories; I thought I could use %T to rename:

%b (x%T{"%fa\\numfiles.txt",1})

Alas %T appears not to accept variables in the "f" parameter.

Also thought of continuing at the command prompt but am stumped trying to get REN to accept variable input.

Ideas? Suggestions?

22

(4 replies, posted in Bugs and problems)

Simple backup would save last 7 days on exit
copy siren.ini.bk6 to siren.ini.bk7
copy siren.ini.bk5 to siren.ini.bk6
and so forth until...
copy siren.ini to siren.ini.bak1

23

(4 replies, posted in Bugs and problems)

Don't have any idea what happened but for some reason all my favorites are gone. The siren.ini favorites section is empty.
I had an long list of favorites. Would like to suggest a backup function, either automatic or manual.

In the meantime, Remi, you probably have a pretty good library of favs. Could you post it.

Thanks in advance

24

(8 replies, posted in Evolution requests)

Well, I know you don't have a search for file function. But when your in tree mode you can't see the files in subfolders unless you manually open each one. And manually selecting naming source would defeat the purpose.

I was thinking of a call out to the DOS DIR command function. The command would return a bunch of text formatted according to the parameters sent from the Path & Param variables.
You would have to write a little routine to pull out the correct line # based on the Line variable.
That line (or lines) of text gets returned to the user in the %k variable.
After that its up to the user to parse the text using regex's or your standard modifiers.

So I'm in a directory that has a bunch of variously named sub-folders, but each sub-folder contains a set of files with well ordered file names. I select all the sub-folders and for each selected folder the program gets a dir listing, selects the requested line of text from that listing, and returns that line of text for parsing according to the modifiers.

25

(8 replies, posted in Evolution requests)

In the case that prompted me to make the suggestion there was a simple name pattern.
I had over 500 folders; each identified with just a nondescript number. Inside each folder was 1 to many files with a name and a number, just as in your example,  although the separator varied. Each folder is name segregated although there are duplicates across folders. The %nc variable would sort that out though.

Of course this is the most straightforward case. As I thought about it it seemed that if one approached the idea more generally there might be many variations.
Examples:
Rename folder based on first and last file in the folder
Rename based on earliest or latest date of files in the folder, or both.

I am not a Regex expert but it also seemed to me that if a folder contained a bunch of files that didn't fit a pattern but if each folder contained at least one file that did match a pattern that a multiline regex search could grab the desired info.

OK, That one's maybe a stretch.

But it seems to me that if you make it generic enough, who know what ways people will figure out how to use it?