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 40,593 of 42,547    |
|    Zac to All    |
|    appending line of text from file to file    |
|    18 Dec 12 15:50:22    |
      From: zeljko.kucko@hmu.hr              Hello,              I need help and solution for the following situtation.              I have two files: source.txt and output.txt       Source.txt file has two lines.              I need a batch file that does the following:       - Asks the user to enter a number       - Copies the second line from the source.txt file in the output.txt file as       many times as the value entered (each time creating a new row)       - on starting up again does the same thing so that adds a lines below the       existing ones              If anyone can help I would be grateful.              --- 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