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,014 of 68,980    |
|    Robert Roland to dr.j.r.stockton@gmail.com    |
|    Re: I want a non-editing file display Wi    |
|    06 Mar 23 10:56:08    |
   
   From: fake@ddress.no   
      
   On Sun, 5 Mar 2023 13:28:54 -0800 (PST), John Stockton   
    wrote:   
      
   >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?   
      
   How about PowerShell's Out-GridView?   
      
   powershell -command "Get-Content -Path %1|Out-GridView -Wait"   
      
   It can also be used to allow the user to select items and then return   
   the selected items:   
      
   powershell -command "Get-Content -Path %1|Out-GridView -OutputMode   
   Multiple"   
   --   
   RoRo   
      
   --- 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