FIND command error

Oct 24, 2018
15
0
I'm not sure what the cause of this is, but all of the sudden the FIND command is no longer working, not even FIND /?

find /?
find: unable to access "/?": The system cannot find the file specified.

No command line switches work, so my batch files that use FIND /I are broken. I've updated them with FINDSTR, but I'm confused why this happened. Seems like it worked after v25 was installed. I'm quite confused, I have search for the errors I am receiving but no luck finding anything. I get this from v24, v25 and Windows Command Prompt. But only on one system.

Any ideas? Thank you in advance.
 
Oct 24, 2018
15
0
Found it. Thanks IBM InfoSphere, you jerk. MKS Tool is a part of this install. I was working on documenting the installation process using Defendpoint yesterday and had to install it.

From TCC:
which find
find is an external : C:\PROGRA~2\MKSTOO~1\mksnt\find.exe

I really appreciate the help!
 
May 20, 2008
11,400
99
Syracuse, NY, USA
No one has mentioned TCC's built-in FFIND. It can find files by name or content (with regular expressions).
 
Aug 9, 2009
229
1
i beg note its very good but its not simplicity it can't or wont even look for streams yet
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Are there any command line utilities that will search for streams (or even text in streams)? In a quick Google search I discovered that you can give a directory an alternate data stream.

Code:
v:\> echo foo > play:foo.txt

v:\> d /: pla*
2019-11-06  10:17         <DIR>    play
                                5    foo.txt:$DATA

v:\> type play:foo.txt
foo
 
Oct 24, 2018
15
0
Fix your %PATH% order then.
And check out the "findstr" command, it even lets you use RegExp's.

Thanks, that was the root cause, but I just uninstalled IBM InfoSphere, don't use it, just documenting the installation with -force to bypass the local admin check. That's done, that turd is gone and I'm back working.

It's been a very long time since I even touched my path, much less had to troubleshoot something like this, brings back memories.

I may dig into FFIND fer giggles. Since no one else that I work with has bought TCC, may be best to stick with FINDSTR.
 
Similar threads
Thread starter Title Forum Replies Date
Alpengreis List command: text truncated in find box (german) Support 9
J ffind does not find files Support 4
vefatica Find Files/Text dialog: does it work? Support 0
T FFind - can we display n number of lines after the find? Support 2
R How to? Find a specific file in subfolders Support 11
Patulus TCHistoryLog: TCC: (Sys) The system cannot find the path specified Support 15
D unzip fails to find valid license Support 3
R Find in screen buffer - find next behavior Support 0
thedave Problem chaining piped FIND commands in BTM Support 7
D CD doesn't always find everything Support 8
B Fixed FFIND doesn't find last character in file without CR/LF at EOF Support 1
M Fixed Cannot use the "Browse..." function in "Find files/text" dialogbox Support 2
vefatica FFIND /S, find directory with specified name? Support 7
D Why doesn't ffind find directory? Support 3
nikbackm How to? Find duplicate lines in text file Support 0
P OK, I can't find how to do this, but I know you wizards will... Support 5
noahcoad WAD cmd.exe under tcc doesn't find apps Support 4
S How to? Find installer downloaded by "option /u"? Support 11
M How to? Find out the total allocated size of a directory tree... Support 7
G Find files but ignore file extension in search Support 2
S CDD Doesn't Find Directory? Support 3
L File association: System cannot find the associated program Support 30
R How to use ffind to find older files? Support 9
Charles Dye Edit / Find dialog Support 0
J Find Files - changing folder Support 1
BobK Error from START cmd, "cannot find the file" Support 16
D ACTIVATE doesn't find windows Support 7
R A problem using find in list when word wrap? Support 2
nikbackm Find out when a process has stopped Support 5
J Find failure dialog box failure Support 0
J Problem with Find dialog Support 3
J Problem with %var:find=replace% syntax Support 5
S LIST and F for find Support 4
M TCC cannot find the path specified Support 4
M TCC Can't find WScript.exe where it says it is Support 0
Dmitry L. Kobyakov How to? How to remove the record of the old version of the Take Command? Support 5
D Can alias pass parameters to for command? Support 3
samintz How to? Search for %(command) in Help? Support 1
T VIEW only works from command line Support 14
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
T Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) Support 0
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
J Take command does not start on Windows 10 Support 3
vefatica `Back quotes` - command line vs. batch file Support 5
Jay Sage WAD Failure of Alias Command with /Z Option Support 14
Phileosophos Is there any way to open the Take Command options dialog from the command line? Support 8
Phileosophos Command-line Editing Shortkeys That Fail Support 6
fpefpe How to? free (internal) command Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0

Similar threads