Hello and thank you for looking at this. I am quite new to batch (2 weeks) and I am having problems with my Find command. Each time I type find it will only look for the file or dictionary.
Ex:
find /?
find: '/?': No Such file or dictionary.
find /v test.txt
find: '/v': No Such file or dictionary.
J:\Decoding\test.txt
It is very annoying.
Also I dont know if this will affect it but I have disabled my search assistant because it wasn't working
Computer:XP SP3
Screenshots:
Find command not working!?
Moderator: DosItHelp
Re: Find command not working!?
TheHunterManX wrote:Hello and thank you for looking at this. I am quite new to batch (2 weeks) and I am having problems with my Find command. Each time I type find it will only look for the file or dictionary.
Ex:
find /?
find: '/?': No Such file or dictionary.
You have a find.bat file that is being executed or a third party find.exe file somewhere.
You may not be aware, but if you press ALT Printscreen then it copies only the active window image to the clipboard.
Re: Find command not working!?
Hmm...What is the %path%? Maybe there are problems there.
Type this in CMD:
Meerkat
Type this in CMD:
Code: Select all
path
Meerkat
Re: Find command not working!?
If foxidrive is right, then you may execute this command from commandline to find the additional find.com/exe/bat:
(Double percentage characters when running from batch.)
If you get three blank lines, then Meerkat is right.
penpen
Code: Select all
for %a in (find.bat find.com find.exe) do @echo(%~f$PATH:a
If you get three blank lines, then Meerkat is right.
penpen
-
- Posts: 54
- Joined: 14 Aug 2015 05:59
Re: Find command not working!?
Thanks all who have helped! I found my problem:
Picture 1:
Picture 2:
Picture 3:
Also thank you foxidrive for the ALT+PrintPG
foxidrive- there was a 3rd party app from devkitpro (find.exe)
Meerkat- %path% worked (It showed me the dictionary it was in)
penpen- Thanks to the "for %a in (find.bat find.com find.exe) do @echo(%~f$PATH:a", It showed me there was a extra find.exe)
Thank you again!
Picture 1:
Picture 2:
Picture 3:
Also thank you foxidrive for the ALT+PrintPG
foxidrive- there was a 3rd party app from devkitpro (find.exe)
Meerkat- %path% worked (It showed me the dictionary it was in)
penpen- Thanks to the "for %a in (find.bat find.com find.exe) do @echo(%~f$PATH:a", It showed me there was a extra find.exe)
Thank you again!