NoteWorthy Composer Forum

Museum => Version 1.75 Discussion => Topic started by: bigoud47 on 2010-10-22 02:31 pm

Title: Indexing and referencing nwc files
Post by: bigoud47 on 2010-10-22 02:31 pm
Hello,

I would like to make easily searches through a folder containing a lot of nwc files (1.75).

I would like to make this search by keywords i have put in the info part of the nwc file: unfortunately windows/explorer does not "see" the words i have put in the file.
I do not want to do the search with the filename but by words in the file.

In brief, is there a way to select files by a content? or how do you do to select specific files without a part of the name?

Have a nice day.
Title: Re: Indexing and referencing nwc files
Post by: Rick G. on 2010-10-22 03:34 pm
NoteWorthy Composer Info Console (http://www.noteworthysoftware.com/composer/download-v1.htm) would be the program you are seeking. It will only work with 1.75 files.
Title: Re: Indexing and referencing nwc files
Post by: bigoud47 on 2010-10-24 07:26 pm
Thank you!
I feel that i shall be able to do what i need.
It would solved with the grep unix command...
... something like grep in dos?
Title: Re: Indexing and referencing nwc files
Post by: Flurmy on 2010-10-25 07:46 am
Quote
... something like grep in dos?

Yes, right that: grep for DOS.

There is one in every Borland language package for DOS.
You can download one here: http://edn.embarcadero.com/museum/antiquesoftware (http://edn.embarcadero.com/museum/antiquesoftware)

In alternative I have:
Quote
GREP20AX.ZIP contains GNU grep 2.0 (MS-DOS rev A).  This program searches files (or standard input) for lines that match a given pattern.  The pattern may be a regular expression or a literal string. This program
is free under the terms of the GNU General Public License (see COPYING). This archive has only the MS-DOS executable and formatted documentation. Complete source code is available in GREP20AS.ZIP.
Title: Re: Indexing and referencing nwc files
Post by: bigoud47 on 2010-10-25 09:22 am
Yes!

dir /b *.nwc | nwcinfo | grep mycriteria
(mycriteria must be in the title)

Thank you!

Perhaps have you a graphical  interface to mask that ;) ?

Have a nice day
Title: Re: Indexing and referencing nwc files
Post by: Flurmy on 2010-10-25 10:29 am
Quote
Perhaps have you a graphical  interface to mask that ;) ?

Sorry, I haven't.
You have to take fun with the regular expressions... ;-)
Title: Re: Indexing and referencing nwc files
Post by: Rick G. on 2010-10-25 10:36 am
You have to take fun with the regular expressions... ;-)
This may be a rare case where something was gained in translation :)
Title: Re: Indexing and referencing nwc files
Post by: Flurmy on 2010-10-25 11:37 am
A Freudian lapse! :-)