tinycodinglm / sys /cmd001.jsonl
winapiadmin's picture
Upload folder using huggingface_hub (part 19)
034ba67 verified
|
Raw History Blame Contribute Delete
973 Bytes
{"type": "session", "harness": "deepseek-harness", "id": "cmd001", "name": "CMD batch file basics"}
{"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}}
{"type": "message", "message": {"role": "user", "content": "How do I write a Windows batch file?"}}
{"type": "message", "message": {"role": "assistant", "content": "```batch\n@echo off\nsetlocal enabledelayedexpansion\nset /p INPUT=\"Enter path: \"\nif exist \"%INPUT%\" (echo File exists) else (echo File not found)\nfor %%f in (C:\\logs\\*.log) do echo Processing %%f\nif %ERRORLEVEL% NEQ 0 (echo Error & exit /b %ERRORLEVEL%)\n```"}}