@ECHO OFF
REM DIAGBK.BAT - Diagnostic Backup
REM Version: 1.1 - Simplified for DOS 6.22

ECHO.
ECHO Diagnostic Backup
ECHO.

MD T:\%MACHINE%\DIAG
MD T:\%MACHINE%\DIAG\BAT

ECHO Copying AUTOEXEC.BAT
COPY C:\AUTOEXEC.BAT T:\%MACHINE%\DIAG

ECHO Copying CONFIG.SYS
COPY C:\CONFIG.SYS T:\%MACHINE%\DIAG

ECHO Copying STARTNET.BAT
COPY C:\STARTNET.BAT T:\%MACHINE%\DIAG

ECHO Copying C:\BAT files
COPY C:\BAT\*.* T:\%MACHINE%\DIAG\BAT

ECHO Copying C:\BATCH files
COPY C:\BATCH\*.* T:\%MACHINE%\DIAG\BAT

ECHO.
ECHO Done - files in T:\%MACHINE%\DIAG
ECHO.
