If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
The underscore symbol in Windows Search.
Creator.
Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. EG _1234556 or 123456_ Do these need special treatment in the Search box? |
Ads |
#2
|
|||
|
|||
The underscore symbol in Windows Search.
Peter Jason wrote:
Creator. Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. EG _1234556 or 123456_ Do these need special treatment in the Search box? Well, "exact match" is like this. ~="hello world" but I don't think that's what you're after either. Doing this: ~="123456_" should match just the latter filename. ******* What do you want to search for ? What do you expect for results ? Spell it out in detail, so I won't get it wrong :-) Paul |
#3
|
|||
|
|||
The underscore symbol in Windows Search.
On Mon, 11 Sep 2017 13:35:16 +1000, Peter Jason
wrote: Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. EG _1234556 or 123456_ Do these need special treatment in the Search box? Peter, In Windows 7 you can use file:~_ in Windows Search to return file and folder names beginning with an underscore, so try that. I don't know a corresponding query for file names ending with one. The "ends with" and "begins with" operators (~ and ~) don't work here. Doug M. in NJ |
#4
|
|||
|
|||
The underscore symbol in Windows Search.
On Mon, 11 Sep 2017 17:38:07 -0400, Retroman wrote:
On Mon, 11 Sep 2017 13:35:16 +1000, Peter Jason wrote: Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. EG _1234556 or 123456_ Do these need special treatment in the Search box? Peter, In Windows 7 you can use file:~_ in Windows Search to return file and folder names beginning with an underscore, so try that. I don't know a corresponding query for file names ending with one. The "ends with" and "begins with" operators (~ and ~) don't work here. Doug M. in NJ Thanks to all. I have tried the "~" character and stumbled on a solution (so far). The problem is with file names in Tumblr such as: tumblr_o3w0tcdH8U1th530qo3_500........ .....where there is _o3 at the beginning and o3_ at the end. I'm searching for series where at the end of a common file name there is a defining place in the series file names from o1_ to o10_. The trick is to get Windows search to return file names with on_ and NOT _on, wjere "n" is the sequence number in the series. So far only this sort of thing wortks........ *o2_~ OR *o3_~ OR *o4_~ OR *o5~ etc. Many thanks for your advice. |
#5
|
|||
|
|||
The underscore symbol in Windows Search.
On Fri, 15 Sep 2017 07:46:55 +1000, Peter Jason
wrote: On Mon, 11 Sep 2017 13:35:16 +1000, Peter Jason wrote: Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. EG _1234556 or 123456_ Do these need special treatment in the Search box? [snip] So far only this sort of thing wortks........ *o2_~ OR *o3_~ OR *o4_~ OR *o5~ etc. You are quite welcome, Peter. Try using a wild card instead of a literal number, like this: file:tumblr*o?_ The "tumblr" prefix is optional. Adding it excludes other files that might contain the " o?_" string. Doug M. in NJ |
#6
|
|||
|
|||
The underscore symbol in Windows Search.
On Fri, 15 Sep 2017 10:07:09 -0400, Retroman wrote:
On Fri, 15 Sep 2017 07:46:55 +1000, Peter Jason wrote: On Mon, 11 Sep 2017 13:35:16 +1000, Peter Jason wrote: Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. EG _1234556 or 123456_ Do these need special treatment in the Search box? [snip] So far only this sort of thing wortks........ *o2_~ OR *o3_~ OR *o4_~ OR *o5~ etc. You are quite welcome, Peter. Try using a wild card instead of a literal number, like this: file:tumblr*o?_ The "tumblr" prefix is optional. Adding it excludes other files that might contain the " o?_" string. Doug M. in NJ Yes, this works, so far as I've seen: file:tumblr*o2_ OR file:tumblr*o2_ OR file:tumblr*o4_ OR file:tumblr*o5_ OR file:tumblr*o6_ OR file:tumblr*o7_ OR file:tumblr*o8_ OR file:tumblr*o9_ |
#7
|
|||
|
|||
The underscore symbol in Windows Search.
On Mon, 18 Sep 2017 11:01:16 +1000, Peter Jason
wrote: Try using a wild card instead of a literal number, like this: file:tumblr*o?_ The "tumblr" prefix is optional. Adding it excludes other files that might contain the " o?_" string. Yes, this works, so far as I've seen: file:tumblr*o2_ OR file:tumblr*o2_ OR file:tumblr*o4_ OR file:tumblr*o5_ OR file:tumblr*o6_ OR file:tumblr*o7_ OR file:tumblr*o8_ OR file:tumblr*o9_ Peter, The question mark is a wild card for any single character, so you don't need those OR conditions. Try the line that I posted exactly as it is. Doug M. in NJ |
#8
|
|||
|
|||
The underscore symbol in Windows Search.
On 11/9/2017 11:35 AM, Peter Jason wrote:
Creator. Some file names contain underscores (_) but Windows10 Search cannot separate those at the beginning or at the end of a file name. Forget about these GUI stuffs! Open a Command Prompt, do a "DIR /S/A"? -- @~@ Remain silent! Drink, Blink, Stretch! Live long and prosper!! / v \ Simplicity is Beauty! /( _ )\ May the Force and farces be with you! ^ ^ (x86_64 Ubuntu 9.10) Linux 2.6.39.3 不借貸! 不詐騙! 不援交! 不打交! 不打劫! 不自殺! 請考慮綜援 (CSSA): http://www.swd.gov.hk/tc/index/site_...sub_addressesa |
#9
|
|||
|
|||
The underscore symbol in Windows Search.
On Mon, 18 Sep 2017 13:10:09 -0400, Retroman wrote:
On Mon, 18 Sep 2017 11:01:16 +1000, Peter Jason wrote: Try using a wild card instead of a literal number, like this: file:tumblr*o?_ The "tumblr" prefix is optional. Adding it excludes other files that might contain the " o?_" string. Yes, this works, so far as I've seen: file:tumblr*o2_ OR file:tumblr*o2_ OR file:tumblr*o4_ OR file:tumblr*o5_ OR file:tumblr*o6_ OR file:tumblr*o7_ OR file:tumblr*o8_ OR file:tumblr*o9_ Peter, The question mark is a wild card for any single character, so you don't need those OR conditions. Try the line that I posted exactly as it is. Doug M. in NJ Yes I see, but i don't want the *o1 case because these singles are in the vast majority. If a series presents itself, then I seek the *o1 for that series. |
#10
|
|||
|
|||
The underscore symbol in Windows Search.
On Tue, 19 Sep 2017 07:41:11 +1000, Peter Jason
wrote: Yes I see, but i don't want the *o1 case because these singles are in the vast majority. If a series presents itself, then I seek the *o1 for that series. OK, got it. I misunderstood what you meant by: I'm searching for series where at the end of a common file name there is a defining place in the series file names from o1_ to o10_. Doug M. in NJ |
Thread Tools | |
Display Modes | Rate This Thread |
|
|