RichardL Posted February 5, 2011 Share Posted February 5, 2011 Hello, I try to 'find in files' _FF in *.au3, and it says: >findstr /n /s /I "_FF" "*.au3" >%1 is not a valid Win32 application. The findstr command is alright from command prompt. So it's a fault? Richard. Link to comment Share on other sites More sharing options...
iamtheky Posted February 5, 2011 Share Posted February 5, 2011 runwait ("cmd /c " & 'findstr /n /s /I "_FF" *.au3') ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
PsaltyDS Posted February 5, 2011 Share Posted February 5, 2011 (edited) I'm confused. Was there any AutoIt code involved in what you tried to do? If so, post what you did. Edit: Ahh, the Jos-y one brings clarity. Edited February 5, 2011 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2011 Developers Share Posted February 5, 2011 Believe the OP is using the SciTE "find in files" option with the SciTE lite included in the AutoIt3 installer. If so, try the full SciTE4AutoIt3 package. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RichardL Posted February 5, 2011 Author Share Posted February 5, 2011 I'm using the full editor (with the too long tools menu) "Version 1.79 Jul 16 2009 18:30:31" Richard Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2011 Developers Share Posted February 5, 2011 Do you have a findstr.exe in the SciTE subdirectory? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RichardL Posted February 5, 2011 Author Share Posted February 5, 2011 C:\Programs\AutoIt3\SciTE\findstr.exe - yes Does find in files work on your system? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2011 Developers Share Posted February 5, 2011 >findstr /n /s /I "_ff" ".au3">>>Search files of type .au3 in C:\Program Files (x86)\AutoIt3\SciTE : Search Subfolders :: Not Case Sensitive :no files found with "_ff">Exit code: 0 Time: 5.681 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RichardL Posted February 5, 2011 Author Share Posted February 5, 2011 yes, I can put this in at a command prompt, and it works findstr /n /s /I "_FF" "*.au3" but the AutoIt/SciTE find in files dialogue always gives me an error. Link to comment Share on other sites More sharing options...
Developers Jos Posted February 5, 2011 Developers Share Posted February 5, 2011 yes, I can put this in at a command prompt, and it worksfindstr /n /s /I "_FF" "*.au3"but the AutoIt/SciTE find in files dialogue always gives me an error.I ran it from the SciTE "Find in Files" option and it gave me the shown output.What OS are you running and is it x86 or x64?I am on:OS:WIN_7/ CPU:X64 OS:X64 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
RichardL Posted February 5, 2011 Author Share Posted February 5, 2011 Windows XP SP3 Maybe there is something odd about the installation. I always put things in Programs not 'Program Files', but that shouldn't break it. Link to comment Share on other sites More sharing options...
trancexx Posted February 5, 2011 Share Posted February 5, 2011 (edited) I have problems with this too (same environment as Jos). This happens to be the case for some time now. I clearly remember it working and then after installing some new version of SciTE not. I can't remember what particular version it was when it stopped, but it could be a year ago, maybe even more.edit: no I don't. I haven't used "Find in Files" recently. Just tried and it works fine. Edited February 5, 2011 by trancexx ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted February 5, 2011 Share Posted February 5, 2011 A search for _ff works for me (same environment as Jos). We must have something you two* don't (or the opposite).On a unrelated note, I never got why some things can't be searched for. Like X64.>findstr /n /s /I "X64" "*">>>Search files of type * in C:\Users\Admiral\Dropbox\AutoIt Sync\Mina Småprogram : Search Subfolders :: Not Case Sensitive :>Exit code: 0 Time: 0.817I just want to find a script that is x86 or x64 only, but noo, that's not possible *trancexx edited her post in the middle of everything .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
RichardL Posted February 6, 2011 Author Share Posted February 6, 2011 I tried uninstalling and starting again. With just the SciTE lite, the 'find in files' works fine. Download the full one from http://www.autoitscript.com/cgi-bin/getfile.pl?../autoit3/scite/download/SciTE4AutoIt3.exe and it doesn't work. RichardL Link to comment Share on other sites More sharing options...
fspafford Posted August 19, 2011 Share Posted August 19, 2011 I have the same find-in-files problem. I am using the latest version (Version 2.27 Jun 24 2011 17:46:25). >findstr /n /s /I "inputbox" "*.au3" >%1 is not a valid Win32 application. If I try the findstr command in a console window, it works fine. Does anyone know how to correct the problem? Regards, Frank Frank Link to comment Share on other sites More sharing options...
Developers Jos Posted August 19, 2011 Developers Share Posted August 19, 2011 (edited) Try replacing the findstr.exe in the SciTE directory with this version: findstr.exeJos Edited August 19, 2011 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
BrewManNH Posted August 19, 2011 Share Posted August 19, 2011 (edited) I just tried it on my system, I didn't even realize it was there before, and it's not working for me either. On Windows 7 x86 I get this from the SciTE console window:>findstr /n /s /I "mp3" "*">This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher. Edited August 19, 2011 by BrewManNH If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
BrewManNH Posted August 19, 2011 Share Posted August 19, 2011 Try replacing the findstr.exe in the SciTE directory with this version: findstr.exeJos That one works for me now. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Developers Jos Posted August 19, 2011 Developers Share Posted August 19, 2011 The installer version is compiled as x64 .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
fspafford Posted August 19, 2011 Share Posted August 19, 2011 Try replacing the findstr.exe in the SciTE directory with this version: findstr.exeJos Thanks, that worked for me!Frank Frank Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now