Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Find files but ignore file extension in search

Dec
4
0
This might be real simple.

I want to find all files that have a specific string to the left of the extension and not include the extension as part of the wildcard search.

For example:

For my *doc* search,

return:

doctor.doc
builddock.txt
docktime.doc
doc

but don't return:
badfile.doc
anyfile.doc

In other words, if *doc* is the extension don't show me the file unless *doc* is also part of the file name.
 
From: glennw
Subject: [Support-t-3406] Find files but ignore file extension in search

| This might be real simple.
|
| I want to find all files that have a specific string to the left of
| the extension and not include the extension as part of the wildcard
| search.
|
| For example:
|
| For my *doc* search,
|
| return:
|
| doctor.doc
| builddock.txt
| docktime.doc
| doc
|
| but don't return:
| badfile.doc
| anyfile.doc
|
| In other words, if *doc* is the extension don't show me the file
| unless *doc* is also part of the file name.

AFAIK this ought to do it: *doc*.* - BUT it does not, it also reports all files with the .DOC extension. Why it ignores the presence of the explicit dot "." to separate name from extension I do not recall. However, this apparently does: *doc*[.]* - the brackets around the dot make it a required character [even if only implied].
--
HTH, Steve
 
From: glennw
Subject: [Support-t-3406] Find files but ignore file extension in search

| This might be real simple.
|
| I want to find all files that have a specific string to the left of
| the extension and not include the extension as part of the wildcard
| search.
|
| For example:
|
| For my *doc* search,
|
| return:
|
| doctor.doc
| builddock.txt
| docktime.doc
| doc
|
| but don't return:
| badfile.doc
| anyfile.doc
|
| In other words, if *doc* is the extension don't show me the file
| unless *doc* is also part of the file name.

AFAIK this ought to do it: *doc*.* - BUT it does not, it also reports all files with the .DOC extension. Why it ignores the presence of the explicit dot "." to separate name from extension I do not recall. However, this apparently does: *doc*[.]* - the brackets around the dot make it a required character [even if only implied].
--
HTH, Steve

Excellent, thanks.

Glenn
 
Back
Top
[FOX] Ultimate Translator
Translate