| 1. |
Solve : CAN AN ASCII CHARACTER 0Dh OR 0Ah BE PLACED INTO A TEXT FILE USING A DOSBATCH?? |
|
Answer» I HAVE A TEXT FILE WITH MANY LINES WOULD ANYONE KNOW HOW TO GO ABOUT THIS? Yes. Please try turning of your CAPS LOCK and stop shouting at us. We are a peaceful tribe Most any script language can handle the characters found on any ASCII chart. Batch code, well not so much. Batch code can handle carriage returns however. Code: [Select]@echo off setlocal for /f "tokens=* delims=" %%i in (Text.txt) do ( echo %%i >> newText.txt echo. >> newText.txt ) File names and paths are your responsibility. GOOD luck. edited to add the word "please" |
|