I am writing a script to 'survey' every machine on our network. The 'survey' is launched at the desktop by members of a 'survey team'. I have been unsuccessful at incorporating msd.exe into the kix script. I attempted to shell this command in the script
"%COMSPEC% /e:1064 /c c:\demerge\msd.exe /p report.msd" but msd performs 'an illegal operation' and must be terminated. This causes my entire script to terminate. So, I paused the script with a MESSAGEBOX(,,16) instructing the surveyor to run msd.bat, and once finished click on 'ok'. I open report.msd and readline(#) until it finds "Physical Station Number:" <-- Win95 or "NetBIOS Card Information:" <-- Win98. I am working with a mixed (NT / Novell) network. I don't know which one is leasing out IP addresses. IPCONFIG = 'bad command or file name'.

Is there some Exe Dll parameter passing combination that WINIPCFG uses to display the Adapter Address?