NEC.EXE an interface to SOMNEC data. 

This utility (nec.exe) runs from the command shell (DOS prompt) and opens a NEC input file and
determines if the Sommerfeld ground is used and obtains the frequency, K and sigma terms so it can locate
or generate the appropriate SOMNEC interpolation grid data before invoking one of the variants of NEC2D.
The Sommerfeld data is stored in the directort specified by the SOMDATA environment variable - where it
may be stored and retrieved for future use. 

NEC.EXE also determines the appropriate variant of NEC2D based on the number of in-core segments.
The program requires nec2d512.exe, nec2d960.exe, nec2d1k4.exe, RTM.EXE and CW3220.DLL in the current directory
or the path specified by the PATH environment variable.

Source code included (The program could also be recompiled on Unix afer some modifications.) 

(contibuted by the author Ralph Holland , VK1BRH <vk1brh@dynamite.com.au> <http://www2.dynamite.com.au/vk1brh>)