Page 1 of 1 |
|
Posted: 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 |
|
 |
|
Posted: Sun, 13th Sep 2009 12:03 Post subject: |
|
 |
could just create a batch file that automatically renames the .nfo to .txt
|
|
Back to top |
|
 |
|
Posted: Sun, 13th Sep 2009 12:06 Post subject: |
|
 |
ok... how would i do that ??
|
|
Back to top |
|
 |
|
Posted: 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 |
|
 |
|
Posted: 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
|
Posted: 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 |
|
 |
|
Posted: 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á
|
|
Back to top |
|
 |
lhzr
Posts: 3902
Location: RO
|
Posted: 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 |
|
 |
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Sat, 19th Sep 2009 06:18 Post subject: |
|
 |
there is no crack we are alll fucking
|
|
Back to top |
|
 |
|
Posted: 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 |