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,956 of 42,547    |
|    foxidrive to oldyork90@yahoo.com    |
|    Re: input a sentance/comment    |
|    19 May 14 04:48:14    |
      From: foxidrive@server.invalid              On 19/05/2014 04:35, oldyork90@yahoo.com wrote:       >       > I understand that you quote input to join space delimited input.       >       > batch.cmd "this is one arg" second third       >       > Quoting also works with       >       > set /p ans=Enter       >       > Is there any way using set /p to collect all the args without asking the       > user to quote?       >       > At the command line I could do this inside the file, set all_ans=%1 %2 ...       > but with set there are no positionals, %1.... %n are empty.                     You can write code to extract the terms - but knowing exactly what terms can       be used and in which       order they can appear, is information that you have to provide.              --- 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