Skip to main content
Topic: nwc-conv.exe: Command line tool for converting *.nwc files (Version 2.1b) (Read 15822 times) previous topic - next topic

nwc-conv.exe: Command line tool for converting *.nwc files (Version 2.1b)

Licensed users of NoteWorthy Composer Version 2.1 can use the attached tool to automate *.nwc file conversions. This new version of the nwc-conv.exe program will automatically find a properly installed copy of NWC2 and use it to complete the requested file conversion.

Quote from: "nwc-conv.exe -h"
nwc-conv: version 2.1b
This program is a front end command to the file convert options
available in the main NoteWorthy Composer 2 program.

Usage: nwc-conv IN_FMT OUT_FMT [-h|-v|-0|-1]

IN_FMT
    This specifies the input file or format that will be used.
    This can be the name of a *.nwc or *.nwctxt file, or if
    STDIN is used, it should indicate "NWC" or "NWCTXT".

OUT_FMT
    This specifies the output file or format that will be used.
    The format can be one of NWC, NWCTXT, MID, or INFO, but may
    not be the same as the IN_FMT. This can be the name of the
    intended output file, or just the the format name if STDOUT
    is used.

-h  Shows this help message
-v  Shows the program name and version
-0  Use type 0 when converting to MIDI
-1  Use type 1 when converting to MIDI

Example: nwc-conv NWCTXT "out\test.mid" -1
    This creates a Type 1 MIDI file using the NWCTXT text
    provided on standard input (STDIN)

Example: nwc-conv "in\test.nwc" NWCTXT > "out\test.nwctxt"
    This converts the test.nwc file into NWCTXT which is sent
    via standard output (STDOUT) to a test.nwctxt file

 

Re: nwc-conv.exe: Command line tool for converting *.nwc files (Version 2.1b)

Reply #1
Sorry if I'm just stupid, but what format is the attached file in?  How can I "convert" it to an executable "nwc-conv.exe"?


Re: nwc-conv.exe: Command line tool for converting *.nwc files (Version 2.1b)

Reply #3
The updated nwc-conv.exe tool is now included in version 2.11 of the NWC2 User Tool Starter Kit.

  • an updated nwc-conv.exe for command line conversion of *.nwc to and from *.nwctxt