Files
claudetools/clients/dataforth/session-logs/project_ctonwtxt_gap.md
OC-5070 ece3222d3a Add AD1 session data, memory entries for datasheet pipeline and security incident
- Imported AD1 Claude session files to clients/dataforth/session-logs/
- Created memory: project_datasheet_pipeline.md (full pipeline architecture)
- Created memory: project_dataforth_incident_2026-03-27.md (security incident + MFA)
- Updated MEMORY.md index
- Updated session log with AD1 pipeline rebuild findings

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 20:07:20 -07:00

39 lines
1.8 KiB
Markdown

---
name: CTONWTXT.BAT not called in current AUTOEXEC
description: Current AUTOEXEC.BAT v4.1 on DOS test stations calls CTONW.BAT (DAT files only) but NOT CTONWTXT.BAT (TXT datasheets). TXT files piling up in C:\STAGE on DOS machines.
type: project
---
## The Gap (confirmed 2026-03-27 via John Lehman email)
Current AUTOEXEC.BAT v4.1 (deployed 2026-03-12) boot sequence on DOS test stations:
1. STARTNET.BAT — maps T: = \\D2TESTNAS\test, X: = \\D2TESTNAS\datasheets
2. NWTOC.BAT — checks for software updates from network
3. CTONW.BAT — uploads .DAT log files to T:\TS-XX\LOGS\ (only .DAT, NOT .TXT)
4. menux — launches the test menu system
Missing: CTONWTXT.BAT (copies C:\STAGE\*.txt to X: drive) is NOT called.
ARCHBAT.BAT (which called NWtoC, CtoNW, AND CtoNWtxt) is also NOT called.
John Lehman is still investigating where/if ARCHBAT was previously called.
Peter Iliya found many .TXT files in C:\STAGE dating back to Sept 2025 on test machines.
## CTONWTXT.BAT Logic (from email screenshots)
- Checks if C:\STAGE\*.txt exists
- Verifies network via %2\serve.sys
- copy C:\STAGE\*.txt %2 (X: drive = \\D2TESTNAS\datasheets\Test_Datasheets)
- DEL C:\STAGE\*.txt
- Logs to C:\ATE\CtoNWtxt.log
## Fix Options
1. Add `CALL C:\BAT\CTONWTXT.BAT %MACHINE% X:` to AUTOEXEC.BAT (or to CTONW.BAT)
2. Or integrate TXT transfer into the existing CTONW.BAT
## Filename Encoding (from John's email)
- 5-digit WO#: {WO#}-{dash#}.TXT (e.g., 12345-1.TXT)
- 6-digit WO# (10xxxx-19xxxx): first 2 digits encoded A-J, then 4 digits + dash# (e.g., 123456 -> C3456-1.TXT)
- Invalid WO#s get filename "BAD-{dash#}.TXT" with search name "BAD"
**Why:** This is why X:\Test_Datasheets has a backlog and DFWDS hasn't been processing new files.
**How to apply:** Need to fix CTONW.BAT or AUTOEXEC.BAT to include TXT transfer, then deploy to all 64 stations.