home bbs files messages ]

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,009 of 68,980   
   John Stockton to All   
   I want a non-editing file display Window   
   05 Mar 23 13:28:54   
   
   From: dr.j.r.stockton@gmail.com   
      
   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 ge   
   on a light-coloured background !   
      
      
   --    
   (c) John Stockton, near London, UK. Using Google Groups. |   
      
   --- 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