Display Text File on-Screen

BillW
3StarLounger
Posts: 208
Joined: 24 Mar 2010, 15:22

Display Text File on-Screen

Post by BillW »

Many, Many years ago I believe I could enter a command that displayed the contents of a text file on the screen without opening and holding onto the file like an editor would do today. Is there any way to do that in Windows Vista today?

BTW, I used to use VAX computers a lot and it just occurred to me that maybe that was where I was able to do that!

Thanks,
Bill

User avatar
HansV
Administrator
Posts: 78493
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Display Text File on-Screen

Post by HansV »

The Notepad application that comes with Windows opens a text file without locking it - you can delete the file in Windows Explorer while it's open in Notepad.
Best wishes,
Hans

User avatar
John Gray
PlatinumLounger
Posts: 5408
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Display Text File on-Screen

Post by John Gray »

If you open a Command Prompt window in the appropriate directory/folder you could do either
type thefile.txt
or
more < thefile.txt
(you choose!)...
John Gray

"(or one of the team)" - how your appointment letter indicates you won't be seeing the Consultant...

BillW
3StarLounger
Posts: 208
Joined: 24 Mar 2010, 15:22

Re: Display Text File on-Screen

Post by BillW »

HansV wrote:The Notepad application that comes with Windows opens a text file without locking it - you can delete the file in Windows Explorer while it's open in Notepad.
I hadn't realized that! Thanks Hans.

John: Is there any way to combine the opening of the command prompt window and issuing the Type command, all from one .BAT file? Thanks for the suggestion in in any case.

Bill