Fixed CTONW.BAT DOS 6.22 compatibility: - Changed 14 directory existence checks from \NUL to \*.* * C:\BAT\NUL -> C:\BAT\*.* * T:\%MACHINE%\NUL -> T:\%MACHINE%\*.* * %TARGETDIR%\NUL -> %TARGETDIR%\*.* * %LOGSDIR%\NUL -> %LOGSDIR%\*.* * All log subdirectories (8BLOG, DSCLOG, HVLOG, etc.) * All data source directories (8BDATA, DSCDATA, HVDATA, etc.) - Preserved correct >NUL 2>NUL output redirection (lowercase) Added CTONWTXT.BAT: - Text datasheet archiving script called by ARCHBAT.BAT - Copies C:\STAGE\*.txt to network target directory - Already DOS 6.22 compatible (no modifications needed) All BAT files for ARCHBAT.BAT workflow now deployed: - NWTOC.BAT (network to computer) - CTONW.BAT (computer to network) - CTONWTXT.BAT (text file archiving) NUL is a reserved device name in DOS/Windows and cannot be used as a filename or in path existence checks. Using *.* wildcard correctly tests for directory existence. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1.4 KiB
1.4 KiB