Computing.Net > Forums > Disk Operating System > Reading Txt file in dos mode

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Reading Txt file in dos mode

Reply to Message Icon

Name: Sathish
Date: August 29, 2003 at 16:48:01 Pacific
OS: Windows Xp
CPU/Ram: 124
Comment:

Let's see if you can help me.

is it possible to read TXT file in Dos mode?

I have a readme.txt file on my bootdisk, what to do to view that file when i boot my system using boot cd?

Ok, when i type "A:\type readme.txt" the file loads... But, it was tooo long as i cant read what was there in the top.. And when i use "A:\type readme.txt|more" my computer says, this command wont work in DOS, well, if i try the same from Windows command propt, it works nice..

So, my doubt is, how can i read that long text file when i boot my computer with a cd or a floppy? Hlep me!



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: August 29, 2003 at 16:56:42 Pacific
Reply:

There is no MORE command on your floppy. Or the MORE command is from the wrong version.


0

Response Number 2
Name: JackG
Date: August 29, 2003 at 17:36:55 Pacific
Reply:

If you can change the TXT file to anything you want, you could change it to a BATCH file. Then CALL the text.bat file. In the file, start with an @ECHO OFF, then at the start of each line, add an ECHO. statement with one line of the text you want to display. At about 22 lines down ad a PAUSE statement to stop the display. Any key will then display the "next page", until done. The batch will then exit back to the calling batch file.

Now, if you can't, then make sure a program in the boot image that can display the file. For example you could use the EDIT program do display it. The user could then scroll up and down to read any message you selected. They would have to know how to exit. There are also many "README.EXE program around that will do what you want to do.


0

Response Number 3
Name: Dave357
Date: August 29, 2003 at 18:53:24 Pacific
Reply:

Instead of using type, use edit.

HTH

Dave


0

Response Number 4
Name: Woof
Date: August 30, 2003 at 06:46:04 Pacific
Reply:

Alternatively use type FILENAME.TXT /p for a pageful at a time where filename is the name of the file.

HTH

Woof


0

Response Number 5
Name: Dave357
Date: August 30, 2003 at 17:30:02 Pacific
Reply:

Woof, I haven't checked other versions of DOS, but in Win95 DOS, the /P switch is not a valid switch. That's why I suggested using edit, rather than type. I thought that the /P switch would work & was going to suggest it, but I tried it first. (My DOS is more than a little bit rusty. LOL)

HTH

Dave


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Reading Txt file in dos mode

play wave files in DOS mode www.computing.net/answers/dos/play-wave-files-in-dos-mode/2704.html

How can I remove files in DOS ? www.computing.net/answers/dos/how-can-i-remove-files-in-dos-/10052.html

problem in dos mode www.computing.net/answers/dos/problem-in-dos-mode/13463.html