Any MS DOS experts here...?

  • Thread starter Thread starter Desperate help...
  • Start date Start date
D

Desperate help...

Hi, sorry to bother everyone in this newsgroup but I have
some serios questions for ms dos...
1.What is a batch file?
2. How can I make a batch file tht will clear the screen
and print the contents of a specific file on the screen?
Thanks ahead of time and does anyone know of any msdos
newsgroups?
 
-----Original Message-----
Hi, sorry to bother everyone in this newsgroup but I have
some serios questions for ms dos...
1.What is a batch file?
2. How can I make a batch file tht will clear the screen
and print the contents of a specific file on the screen?
Thanks ahead of time and does anyone know of any msdos
newsgroups?
.
a batch file is a way to run a series of dos commands by
executing only one command. Create this file in the
editor of your choice to fix your problem. The first
line clears the screen and the second will display the
contents of fhe file on the screen.

cls
type <putfilenamehere>
 
Desperate help... said:
Hi, sorry to bother everyone in this newsgroup but I have
some serios questions for ms dos...

In WinXP, there is no ms dos really, it's called CLI (command line interface),
used e.g. through a command prompt or batch file.

1.What is a batch file?

Here's a web page that gives a quick intro to batch files:

Writing your first BATch file
http://www.chami.com/tips/windows/010897W.html

and

Windows Scripting and Batch Programing Resources:
http://www.labmice.net/scripting/default.htm


Batfiles The DOS batch file programming handbook & tutorial:
http://home7.inet.tele.dk/batfiles/

Batfile links:

http://home7.inet.tele.dk/batfiles/main/links.htm
http://dmoz.org/Computers/Software/Operating_Systems/x86/DOS/Programming/Languages/Batch/



2. How can I make a batch file tht will clear the screen
and print the contents of a specific file on the screen?

cls
type "some_file_name_here" | more

Thanks ahead of time and does anyone know of any msdos
newsgroups?

If you have questions about command line/batch programming you should post to
this group:

microsoft.public.win2000.cmdprompt.admin

Web link:
http://communities2.microsoft.com/c...x?dg=microsoft.public.win2000.cmdprompt.admin




A newsgroup search is also an incredible source of information :-)

You can use http://groups.google.com/advanced_group_search to search in a news
database having articles dated back to all the way to 1981.

Batch programming and command line newsgroups ideal for newsgroup searches:

alt.msdos.batch
alt.msdos.batch.nt
microsoft.public.win2000.cmdprompt.admin
 
A "batch" is a file which contains a series of commands. When you
execute the "batch" file, these commands execute in sequence as
programmed. The term probably dates back from the early days of
computers when you submitted jobs to computers in "batches".

To do what you want, you'll want to create a file which holds the commands:

cls
type filename.txt

Use notepad or some other editor to work with this file.

where you replace filename.txt with the relevant file name.

at a command prompt, type "help" to see all the commands available. To
find the options for each command, type the command name followed by a
"/?" (without the quotation marks.

MS DOS is the name of the operating system Microsoft licensed in the
1980's and early 1990's. While it is still in use in some computers, it
is not part of Windows XP. What you see in XP, that is sometimes called
"DOS" by some, is just a command prompt which emulates, or looks like, DOS.

Don't know of any newsgroups about it, but you can find some documents
on Microsoft's web site about how to develop more sophisticated "batch"
files and do some rudimentary programming. That being said, any serious
"batch" programming is often done in something more sophisticated (Perl,
Python, VB, VBA, or other langauge).

Hope this is useful to you. Let us know.

rms
 
Desperate said:
Hi, sorry to bother everyone in this newsgroup but I have
some serios questions for ms dos...
1.What is a batch file?
2. How can I make a batch file tht will clear the screen
and print the contents of a specific file on the screen?
Thanks ahead of time and does anyone know of any msdos
newsgroups?
_________________________________

Hi!
Here are the MS DOS Newsgroups:
microsoft.public.works.dos
microsoft.public.win95.msdosapps
microsoft.public.win3x_wfw_dos
microsoft.public.vb.dos
microsoft.public.basic.dos
 
In
Jerry said:
Go to www.jpsoft.com and check out 4DOS - a superior replacement for
DOS.


4DOS is *not* a replacement for DOS. It is a replacement for
command.com, the command interpreter that comes with DOS. Yes, it
has many superior features over command.com. But although back in
the days of DOS, I was a 4DOS fan, in today's Windows world,
those advantages are far less important. Since I hardly never
need to work at the command prompt anymore, the advantages of
4DOS over command.com are no longer significant to me, and I
haven't used it in years.
 
Back
Top