DOS 6.22 MD fails on existing dirs, then COPY creates a file instead of copying into a directory. Dirs now pre-created on NAS server side. Also removed trailing backslash from COPY target path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
10 lines
392 B
Batchfile
10 lines
392 B
Batchfile
@ECHO OFF
|
|
REM Computer to Network - Upload text datasheet files to network
|
|
REM Version: 2.3 - Pre-create dirs on server side, DOS just copies
|
|
REM Last modified: 2026-03-28
|
|
|
|
ECHO .....................................................
|
|
ECHO Archiving text datasheet files to network...
|
|
COPY /Y C:\STAGE\*.TXT T:\STAGE\%MACHINE%
|
|
ECHO .....................................................
|