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,958 of 42,547    |
|    oldyork90@yahoo.com to All    |
|    input a sentance/comment    |
|    18 May 14 11:35:47    |
      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.              I also tried out copy >con, but here the user has to know how to terminate.              I appears quotes must be used, but I decided to ask since you guys seem to       have all the answers.              Thank you.              --- 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