Re: writing batch files is NOT like learning to ride a bicycle.......
[email protected] Tue, 09 Mar 2021 16:02:04 -0500
| Newsgroups | alt.comp.editors.batch |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 8 Mar 2021 02:39:22 -0000 (UTC), "Auric__" <[email protected]> wrote: >jackpatton wrote: > >> Years of gui-happy program operations have left my once reasonable >> acumen and the ability to dash off a batch file in a literal shambles. >> I wrote a 'getdate.bat' to prep the system date for filename usage in >> win 7 a few years ago, but it was not nearly as elegant as those i have >> seen here using the for/in/do statements. The following batch file is >> only included to give an idea of where i got to in batch files. and most >> were written 20-25 years ago. But i did manage to fumble through this >> one a few years ago....... >[snip] >> Now, I realize that i have forgotten most batch principles and commands. >> >> I want to write front-end bat for a rather large command-line program >> called youtube-dl which, when the .bat is initiated does a few things, >> and stops multiple times for keyboard input along the way to execution, >> and then continues on with that new information. I will start out a >> command line with boilerplate of "youtube-dl -f 18 -i". >> >> Any help? > >Only to point you to alt.msdos.batch.nt and Timo Salmi's FAQ: > > http://www.elisanet.fi/tsalmi/info/tscmd.html Thanks!