Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch.nt    |    Fun with Windows NT batch files    |    68,980 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 67,554 of 68,980    |
|    dr.j.r.stockton@gmail.com to All    |
|    Re: Remove all but digits    |
|    27 May 20 09:37:44    |
      On Tuesday, 26 May 2020 19:27:09 UTC+1, Zaidy036 wrote:       > On 5/26/2020 12:41 PM, JRS wrote:              It's not good to give a time when the offset from GMT is not known;       and it's good to not use a date format which is ambiguous for       132 days per year.              > > On Tuesday, 26 May 2020 13:46:09 UTC+1, dr.j.r...@gmail.com wrote:       > >       > >> So, how do I, with default privilege, write to the       > >> environment which SET will now show?              > > MTR is MiniTrue (which I use very frequently), a lister, finder,       > > and replacer. Here, it just finds the line containing 'SET'.       > > The idea is to create a small batch file, presently $QQ.BAT,       > > to do the final move. Probably, FIND or FINDSTR would serve,       > > maybe faster; I have yet to try.              FIND does serve; and I see a probable way of not needing it.              > > Obviously, $QQ.BAT ought to be in %TEMP%, but I'm not sure       > > whether it will work there.              It does work there, and is now $RHUBARB.BAT              > > There MUST be a better way, not needing $QQ.BAT.                     > SETx _VAR=rtfgh       >       > You can use _VAR in a new batch AFTER close batch SETx was used in.              That makes it not well-suited to what the OP seems to want.                     The FIND is no longer needed; the temporary file $RHUBARB.BAT is longer.              I would like to get, within the *.JS script, the number of arguments       that it received.              --        (c) John Stockton, near London, UK. Using Google Groups. |        Mail: J.R.""""""""@physics.org - or as Reply-To, if any. |              --- 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