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,844 of 68,980    |
|    John Stockton to All    |
|    Batch line to display readonly text in a    |
|    14 Apr 22 07:05:39    |
      From: dr.j.r.stockton@gmail.com              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?              --        (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