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,955 of 42,547    |
|    foxidrive to bill_j_chen@yahoo.com    |
|    Re: simple batch script to read a text f    |
|    08 May 14 01:26:09    |
      From: foxidrive@server.invalid              On 8/05/2014 00:58, bill_j_chen@yahoo.com wrote:              > @echo off       >       > for /F "tokens=*" %%a in (C:\test.txt) do (       > echo ======direct print: %%a       > set t=%%a       > echo %t%       > )       >       > not sure what I am missing.       >       > Thanks.              Look up delayed expansion              --- 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