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 68,011 of 68,980    |
|    John Stockton to All    |
|    Re: I want a non-editing file display Wi    |
|    06 Mar 23 04:02:49    |
      From: dr.j.r.stockton@gmail.com              On Sunday, 5 March 2023 at 22:34:01 UTC, Zaidy036 wrote:       > On 3/5/2023 4:28 PM, John Stockton wrote:        > >        > > I have scripts which generate (in %TEMP%) a plain-text file of batch code,       and I want to read this file by eye, in a new plain Window, then manually       copy'n'paste or drag'n'drop selected lines or contiguous groups of lines into       a Command Prompt window,        which will be ready and waiting. The lines all start "DEL" or "RD"; but must       be thought about and selected before execution. I want to be UNABLE to alter       the characters displayed, apart from by scrolling.        > >        > > The batch command        > > START MSEDGE %1        > > does this, except that it does not work in Windows XP and that it opens a       new tab rather than a new Window. In any case, EDGE is "a sledgehammer to       crack a nut", and I don't want to have a window/tab which looks in the least       like any browser that I        have open.        > >        > > So : is there an obscure but standard small part of Windows 10+ that can       display a text file in a simple non-editable Window that supports Ctrl-C and       vertical scroll? Notepad would do nicely, if it could be opened in a non-edit       mode.        > >        > > Can VBScript or JScript called from batch create such a Window _easily_?        > >        > > Ideally, but certainly not essentially, I would like the displayed text to       be on a light-coloured background !        > >        > >       > COLOR XX & TYPE |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca