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 67,849 of 68,980   
   Dallas to John Stockton   
   Re: Batch line to display readonly text    
   14 Apr 22 11:32:21   
   
   From: dallas@texas.usa   
      
   On 4/14/2022 9:05 AM, John Stockton wrote:   
   > I use code like the following, in batch files running in a Command Prompt   
   window, to display the content of a freshly-written plain-text file in a   
   normal window.  From there, I selectively copy'n'paste into a Command Prompt   
   window.   
   >   
   > set DIFF_TXT=%LOGDIR%\$ORPHANS.TXT   
   >      REM write to $orphans.txt   
   > start iexplore.exe %DIFF_TXT%   
   >   
   > I don't want to continue with Internet Explorer, as it is dying.   
   >   
   > I could use Notepad, except that I want the content of the window to be   
   unalterable (except by scrolling and resizing; being un-saveable is irrelevant)   
   >   
   > I could use another browser, but I chose to use Internet Explorer because I   
   never use it otherwise at that time and I therefore get a new on-top window.   
   >   
   > So : is there another means of displaying, from within Batch, a file in a   
   read-only window (required for Win 10, might be wanted in Win 7 or Win 11)?   
   >   
   > Otherwise, how/can I create a suitable window/dialog, with copy'n'paste,   
   using VBScript?   
   >   
      
   Interesting question!   
      
   Now i wonder that when iexplore.exe is retired as a name to invoke Internet   
   Explorer with, will   
   iexplore.exe be a program to launch the currently marketed Microsoft browser ?   
      
   From   
   https://techcommunity.microsoft.com/t5/windows-it-pro-blog/inter   
   et-explorer-11-desktop-app-retirement-faq/ba-p/2366549   
   "   
   Will iexplore.exe be removed from devices?   
   No, but if a user tries to access it, they will be unable to open IE11 and   
   will be redirected to   
   Microsoft Edge.   
   "   
      
   --- 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