Too small TextField "Only files of this type"

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
abr
Junior Member
Junior Member
Posts: 5
Joined: 2009-10-07, 13:32 UTC

Too small TextField "Only files of this type"

Post by *abr »

Hi,
if I want to select files by mask in Copy or Move dialog I can't write(paste) more than ~1022 chars in Only files of this type. Is it somehow possible to increase the number of the chars?

Thanks,
abr
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Have you tried to create search template and choose it in same combo box instead (saved search templates are shown there starting with '>' character)?

Step-by-step:
1. Open Search dialog and paste your long-long-long mask into "search for" edit box (empty other fields).
2. Switch to "Load/Save" tab and save preset with any name.
3. Choose saved preset name in combo box "Only files of this type".

This works fine in my test (1045 characters). As I found, "search for" field lengh is limited to 2047 characters.

Note that you may also type regex expression into field "Only files of this type" (start regexp with '<' character) - maybe your mask will be shorter with regex.
abr
Junior Member
Junior Member
Posts: 5
Joined: 2009-10-07, 13:32 UTC

Post by *abr »

Hi,
thanks for the hint, but

1)
2k "search for" field is also small. We need at least 6k

2)
We can't use regexp for this type of filenames.

Should I drop a mail at supportATghislerDOTcom?
[mod]I “disguised” the e-mail address. Please, don't write clear ones to avoid spam.
Clo, moderator[/mod]
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Take a look at the plugins tab, where you can specify things like:
Plugin | Property | OP | Value
tc | fullname | contains | someword

And add [More rules]

I'm a little confused why one would need a 6,000+ character "search for" string. Can you give an example of what you are attempting to put in the field?
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
abr
Junior Member
Junior Member
Posts: 5
Joined: 2009-10-07, 13:32 UTC

Post by *abr »

Balderstrom wrote:Take a look at the plugins tab, where you can specify things like:
Plugin | Property | OP | Value
tc | fullname | contains | someword

And add [More rules]
Ok, I'll try this and let you know.
Balderstrom wrote: I'm a little confused why one would need a 6,000+ character "search for" string. Can you give an example of what you are attempting to put in the field?
I don't need 6k+ char search for, I need 6k+ Copy/Rename/Move "Only files of this type" field :-).
BTW
File masks from *AA0000000* to *ZZ9999999* but not everything, only a few thousand files.


PS:sry clo
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

"Search For" is the field in the Find Tool, the same functionality as the "File Mask" in the Copy/Move dialog.

I still fail to see how one would need a 6000+ character "Search For|File Mask" field. Either look at regex or consider an exclusion filter that _excludes_ some instead of trying to write a rule that includes everything except for a small subset, just include everything and exclude the small subset with the pipe symbol:
--> *.* | Foobar123.*
== Everything, except for Foobar123.*
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Re: Too small TextField "Only files of this type"

Post by *eugensyl »

abr wrote:Hi,
Is it somehow possible to increase the number of the chars?
...or load from file (like xcopy)?
My Best Wishes,

Eugen
DeTT
Junior Member
Junior Member
Posts: 7
Joined: 2009-11-18, 08:49 UTC

Post by *DeTT »

Hi,

I'd need this fix too, we regularly need more than 1022 chars there, usually about 2500 though this weekend even 5000 would have been too low.

We have files containing unique number IDs and we need to recycle files from older versions. We need to copy these files out from multiple directories (usually about 10) so it's unbearable to create multiple queries in "Search for" not mentioning Plugins, that's totally unthinkable and very very time consuming.

The simpliest way for us how to recycle the old files is to use "Only files of this type:" field.

Query like "everything except _THIS_" isn't usable at all for our case.

Thanks
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

DeTT, if you need to delete a lot of files and you have filelist, it is much simpler to write small BAT-file that will execute specific command for each file from list - in your case DELete command.
DeTT
Junior Member
Junior Member
Posts: 7
Joined: 2009-11-18, 08:49 UTC

Post by *DeTT »

what what?
I never mentioned deleting files. I don't need that.

But still, is it possible to increase the number of characters in "Only files of this type:" field?

I don't need another workarounds, thank you :)

We're forced to use FileBoss now, because all other solutions either in batch file or in Total commander are much more time consuming. Larger "only files of this type:" is the only thing I need.
DeTT
Junior Member
Junior Member
Posts: 7
Joined: 2009-11-18, 08:49 UTC

Post by *DeTT »

bump, this fix would be very much appreciated
Post Reply