How to search for text through nfo files?
Page 1 of 1
thenormal02




Posts: 580
Location: Liechtenstein
PostPosted: Sun, 13th Sep 2009 11:43    Post subject: How to search for text through nfo files?
i wonder if such thing is possible. I have 1000+ nfo files and i have to retrieve only those which contain a specific word within them. I tried windows xp's search function (it lets you search for text through files) but it doesn't work.

I was thinking about a program which can convert nfo files to txt, that way i could use windows's search function as it reads txt files pretty well, but i haven't found it yet.

any suggestions?
Back to top
SpykeZ




Posts: 23710

PostPosted: Sun, 13th Sep 2009 12:03    Post subject:
could just create a batch file that automatically renames the .nfo to .txt


Back to top
thenormal02




Posts: 580
Location: Liechtenstein
PostPosted: Sun, 13th Sep 2009 12:06    Post subject:
ok... how would i do that ??
Back to top
dingo_d
VIP Member



Posts: 14555

PostPosted: Sun, 13th Sep 2009 12:34    Post subject:
http://www.computerhope.com/batch.htm#windows


"Quantum mechanics is actually, contrary to it's reputation, unbeliveably simple, once you take the physics out."
Scott Aaronson
chiv wrote:
thats true you know. newton didnt discover gravity. the apple told him about it, and then he killed it. the core was never found.

Back to top
suil




Posts: 289

PostPosted: Sun, 13th Sep 2009 12:49    Post subject:
open notepad
enter this line:

rename *.nfo *.txt

save as anything.bat
Back to top
Rinze
Site Admin



Posts: 2343

PostPosted: Mon, 14th Sep 2009 05:25    Post subject:
windows key + R
cmd
enter
for /R c:\ %i in (*.nfo) do ren "%i" "%~dpni.txt"
enter

Will search all folders on c:\ and rename nfo to txt.

As an alternative you could use
findstr /l /s /i /c:"SEARCHTEXT" c:\*.nfo
to list all nfo files in c:\ and subfolders which contain SEARCHTEXT
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 14th Sep 2009 11:29    Post subject:
or you could simply download notepad++ which is free and search within files.

Click search, then within files, specify the folder and the search string. voilá


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
lhzr




Posts: 3902
Location: RO
PostPosted: Mon, 14th Sep 2009 11:39    Post subject: Re: How to search for text through nfo files?


Last edited by lhzr on Thu, 24th Dec 2015 14:51; edited 1 time in total
Back to top
AwE




Posts: 1686

PostPosted: Fri, 18th Sep 2009 17:58    Post subject:
PumpAction wrote:
or you could simply download notepad++ which is free and search within files.

Click search, then within files, specify the folder and the search string. voilá


I recomend editplus. its not free but... well Wink
Back to top
Newty182




Posts: 10805
Location: UK
PostPosted: Sat, 19th Sep 2009 00:06    Post subject:
AwE wrote:
PumpAction wrote:
or you could simply download notepad++ which is free and search within files.

Click search, then within files, specify the folder and the search string. voilá


I recomend editplus. its not free but... well Wink


It's not free!? Dam it man, I hope there is a crack..


Ryzen 5 5600, ASUS ROG STRIX B550-F GAMING WIFI II, Corsair Vengeance RGB RT 32GB 3600MHz C16, MSI RTX 5070 Ti Ventus 3X OC , Corsair RMx Series RM750x. AOC AGON AG324UX - 4K 144Hz 1ms
Back to top
boysetsfire




Posts: 1852
Location: Antwerp, belgium
PostPosted: Sat, 19th Sep 2009 06:18    Post subject:
there is no crack we are alll fucking
Back to top
IsaacHunt




Posts: 110

PostPosted: Thu, 24th Sep 2009 12:40    Post subject:
I found this the other day while looking to do the same thing.

http://www.wingrep.com/

You can add *.nfo as a file extension and let it search.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - General chatter
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group