Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 68,416 of 68,980    |
|    Herbert Kleebauer to All    |
|    Re: Replace line in a txt file with miss    |
|    10 Jan 24 19:30:04    |
      From: klee@unibwm.de              On 10.01.2024 18:14, Zaidy036 wrote:              > That complication is so the batch can do multiple runs but still ID data       > to review. I will simplify with "outside" run numbering and renaming       > data files after the main part of the batch like:       >       > SET _NN=0       > :_DoIt       > SET /A _NN=%_NN% + 1       > [ batch cmds without %_NN% ]       > [ REN F:\xxxx.xxx to %_NN%xxxx.xxx ]       > [ run again will be manual using CHOICE GOTO _DoIt]       >              Just tell us, what you really want to do. You said you have       an input file like:              My sample.txt is similar to the following up to 50 lines:       SSID 1 : Residents 5       SSID 2 : HSL2       SSID 3 : AscomI62       SSID 4 : Guest       SSID 5 : ResidentsA       SSID 6 : ResidentsB       SSID 7 :       SSID 8 : XFINITY       SSID 9 : A440                     What exactly should the batch do? Generate an output file?       If yes, what should be the content of the output file?              --- 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