@echo off setlocal cd /d "%~dp0" ( echo MARS XP diagnostic - no settings are changed echo === IP addresses and adapters === ipconfig /all echo === NWLink IPX === sc query NwlnkIpx echo === Microsoft NetWare client === sc query NWCWorkstation echo === NWLink network and frame configuration === reg query HKLM\SYSTEM\CurrentControlSet\Services\NwlnkIpx\NetConfig /s echo === Local Winsock IPX provider === IPXDIAG.EXE echo === Server IPv4 reachability only, NOT an IPX test === ping -n 2 192.168.178.250 ) > XPDIAG.TXT 2>&1 echo Saved XPDIAG.TXT beside this script. Send this file for diagnosis. pause endlocal