NmsUtil -- Extract or compare source code in a Softice .nms file

You might have noticed that a Softice .nms file as built for driver debugging typically contains most of the source code for your project.

NmsUtil.exe is a commandline utility program I wrote to retrieve and manipulate the source in a .nms file. It will

NmsUtil.exe has been tested with symbols files from Softice's v1.22 nmsym.exe, corresponding to release 3.2 of Softice. To write NmsUtil, I inspected a few .nms files in order to understand the .nms format. I know of no commitment by Numega to keep the format the same in future releases.

Download NmsUtil.exe v0.9 (Freeware. 47,104 bytes)

If you get into a DOS box and run NmsUtil without any arguments, it gives the following Help:

NmsUtil v0.9 (c) Copyright 1998 David Markun http://www.markun.com
Usage: nmsutil cmd [args...]  where cmd is one of:
List       -- Show list of files for which this .nms file contains source
              Usage: NmsUtil LIST nmsfilename 
Extract    -- Extract all contained source to separate new files
              Usage: NmsUtil EXTRACT nmsfilename [/OUTDIR=dirname]
			[/PROMPT] [/DIFFERENT] [/SRCBASEDIR=x:\foo\bar\]
		where
			/OutDir=where output files created (default current)
			/Prompt generates a y/n prompt before each extract
			/Different extracts only those files whose current
				source differs from .nms contents
			/SrcBaseDir=base path for ..\ filenames
Compare    -- Compare source in .nms file versus original source files
              Usage: NmsUtil COMPARE nmsfilename [/QUIET]
			[/SRCBASEDIR=x:\foo\bar\] 
		where
			/Quiet omits mention of files that compare Same
			/SrcBaseDir=base path for ..\ filenames


[Home Page]