Batch join file

mmm...
no prompt but still no selection
I select a file and when i press the button the only things that happen the deselection of the file...

I think we are at the end of the road for this topic, I simply do not have enough information from you to take it any further.

So I would suggest that you go back to splitting and joining files the way you were doing it before.

More input from others would be welcomed, I may be missing something.

Curious, the batch file is just running 'dopusrt'... any difference if you list the full path to dopust.exe in quotes? Basiccaly, is it (and therefore the 'Select' command) even running?

Sorry for delay...

I try to do some other test:

  • i delete all newly created button
  • i rebuild a new button starting from the first example posted in this thread.
  • run the button and verify that work correctly (select all file with the same extension of the one selected)
  • modified batch file: changed Select argument with the second posted ("%~n1.*") and saved
  • run the button: no file selected
  • modified batch file: removed " from select argument (%~n1.*)
  • run the button: appear a msg box
    (title: "Select File - Directory Opus"
    other text "Enter the file extension or wildcard pattern to select files"
    input box "%1.00?")
    Press "ok" button clear selection
  • Run the button: change %1 with * in input box and press "ok" result in selection of file with extension .000 to .009

my 2 cent: the problem is select argument, the command is correctly running.

Ok, forget everything I have suggested up until now and try this instead.

Create a new DOpus button and make this the only command for it:

dopusrt /cmd Select {O|ext=*}

Then select one of your split files and press the button you just made. All of the rest of the split files for that split file name should become selected as well.

LOL - Just yesterday I was going to say that I wish I had the chance in my professional career to put something down I'd been working on and then come back to it with a fresh pair of eyes. And then would have posted this:

dopusrt /cmd Select {file$|noext}.*
dopusrt /cmd Join TO {file$|noext}

Anyway - like John said, no need to go the script route at this point I guess.

Hi John,

I havn't been following this thread closely as I've been distracted with other ideas.
I've been programming some, and attempting to make sense of some encrypted HP calculator stuff. (LOL)

But, Thanks much John.
This is also very useful to select photos or music files of the same name, but different extensions.

Consider posting this to the downloads section.

:opusicon: porcupine

Edit Note:
John, I've found some extraneous photos of mine that this doesn't work on.
They are not part of my usual photo processing strategy, but are more quick fixes and just playing.

Consider these filenames:

2005-06-07_12-54-02_psp(2)sat.JPG
2005-06-07_12-54-02_psp(2)sat.PNG
2005-06-07_12-54-02_psp(2)sat.TIF

Does your button work on these files on your system ?
I select only one and then press the button.
I don't think it's your code at fault.

Edit Note 2:
John, a parenthesis is the culprit !
If you can verify this, I think it's time to start a new thread .

[quote]
porcupine wrote:
Hi John,

I havn't been following this thread closely as I've been distracted with other ideas.
I've been programming some, and attempting to make sense of some encrypted HP calculator stuff. (LOL)

But, Thanks much John.
This is also very useful to select photos or music files of the same name, but different extensions.

Consider posting this to the downloads section.

:opusicon: porcupine

Edit Note:
John, I've found some extraneous photos of mine that this doesn't work on.
They are not part of my usual photo processing strategy, but are more quick fixes and just playing.

Consider these filenames:

2005-06-07_12-54-02_psp(2)sat.JPG
2005-06-07_12-54-02_psp(2)sat.PNG
2005-06-07_12-54-02_psp(2)sat.TIF

Does your button work on these files on your system ?
I select only one and then press the button.
I don't think it's your code at fault.

Edit Note 2:
John, a parenthesis is the culprit !
If you can verify this, I think it's time to start a new thread .[/quote]

:astonished:
i test some other file and i found the same problem!
if there is parenthesis in file name don't work. I try with other symbol ( £, $) and it works.

Thankyou GarfTheCat !

Both () and [] do not work, but {} does work.

The control code is working.
Consider this batch file.

rem +++++++++++++++++
rem Batch File
rem +++++++++++++++++

echo {o|ext=*}
pause

rem +++++++++++++++++

The filenames with these characters are being found properly.
The problem then is with the Select command.
Even an explicit Select does not work when contains () or [] .

:opusicon: porcupine

Have ya'll ever heard of a new fangled thing called the DOpus pattern matching syntax?

Where such things like parenthesis are not just parenthesis?

[quote]
JohnZeman wrote:
Have ya'll ever heard of a new fangled thing called the DOpus pattern matching syntax?

Where such things like parenthesis are not just parenthesis?[/quote]

:frowning:

I miss something and i don't post a complete example of the filename i neeed to work with.
But is there any method to bypass this "feature"?

Yes John,
I've seen such a creature.

In the proper situation, they are a wonderous thing.
It's the future. It sure would be nice to able to turn it off easily though.

As it is now, to escape ( , ) , [ , ] , # , ~ , and ' we need to place a ' before the character .

We could write a program to do this, but why bother ?
Your solution works just fine .
Until we can turn it off, I guess just be aware of it and avoid such filenames.

:opusicon: porcupine

Note: Photo from North Manitou Island .

I wrote a quick program to fix this problem, but I'm not submitting it to Tanis for inclusion under Downloads.
I really think John deserves credit for this.
There is nothing wrong at all with his solution.

My workaround, called SelectFix, can be downloaded here for a few days at least.
Just put SelectFix in your DOpus Directory and use:

runmode hide
"C:\Program Files\GPSoftware\Directory Opus\SelectFix.exe" {o|ext=*}

:opusicon: porcupine