Cut the script below and save as ezdocnt.bat
@echo off rem rem Simple batch file to provide documentation of NT system rem using standard tools rem v0.1 rem T Evans rem if .%1==.help goto HELP if .%1==./h goto HELP if .%1==./H goto HELP if .%1==./? goto HELP if .%1==.? goto HELP echo. echo System Documentation echo -------------------- echo. echo %computername% date /t ver echo. echo. %systemdrive% > nul cd %systemdrive%\ > nul echo Directory tree of system drive %systemdrive% echo. tree /a && echo. echo. echo. echo boot.ini configuration file: echo. if exist c:\boot.ini type c:\boot.ini echo. echo. cd %systemdrive%\temp > nul winmsd /af echo System Details (from winmsd): echo. type %systemdrive%\temp\%computername%.txt echo. echo. echo TCP/IP networking configuration: echo. ipconfig /all echo. echo. echo NetBIOS networking: echo. nbtstat -n echo. echo. echo Appendix if exist %0 echo %0 if exist %0.bat echo %0.bat echo. echo The batch file used to produce this documentation is shown echo below: echo. if exist %0 type %0 if exist %0.bat type %0.bat echo ------------------------------------------------------------ echo. echo End of report. goto END :HELP echo Simple batch file to provide documentation of NT system echo using standard tools echo. echo Out put is to the standard output device (screen) and can be echo re-directed to a file echo. :END
Valid XHTML 1.0!