Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,123 of 42,547    |
|    DMcCunney to Herbert Kleebauer    |
|    Re: Add Carriage Return and Line Feed ev    |
|    18 May 15 16:36:25    |
      From: dennis.mccunney@gmail.com              Herbert Kleebauer wrote:       > On 18.05.2015 16:49, Ferlin Short wrote:       >> On Friday, May 15, 2015 at 11:13:17 PM UTC-7, foxidrive wrote:       >>> On 16/05/2015 01:55, Ferlin Short wrote:       >       >>>> I'm struggling with writing a batch file that will take a filename as       >>>> the only parameter, reading the file contents and inserting a carriage       >>>> return and line feed every 128 characters       >       >> I can't use any other tools besides the batch file, and the characters in       the       >> file could be anything in the WE8MSWIN1252 West European character set.       >       > You can't execute a batch file without the "tool" cmd.exe and certutil.exe       > is just an other tool which is part of windows like cmd.exe.              certutil is a Windows Server/Windows8 tool provided as part of       Certificate Services. He may not have it.              It's been a while since I played in the batch sandbox, but I don't       believe this is doable as pure batch, and will require calling a utility       that can do it. If he is restricted to what is provided with the       version of Windows he runs, he may be SOL.       ______       Dennis              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca