Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: read text in a file  (Read 4604 times)

0 Members and 1 Guest are viewing this topic.

TheWaffle

    Topic Starter


    Hopeful
  • Thanked: 4
    • Yes
  • Computer: Specs
  • Experience: Beginner
  • OS: Linux variant
read text in a file
« on: May 08, 2012, 04:04:20 PM »
How would you make a batch file to display the text in a file in the command prompt
I know this doesn't work

echo > myfile.txt
pause

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: read text in a file
« Reply #1 on: May 08, 2012, 05:59:07 PM »
Code: [Select]
more myfile.txt
Now please deposit 2 cents.   :P

Squashman



    Specialist
  • Thanked: 134
  • Experience: Experienced
  • OS: Other
Re: read text in a file
« Reply #2 on: May 08, 2012, 07:19:21 PM »
type myfile.txt