answersLogoWhite

0


Best Answer

We can not perform Shell Scripting in DOS, we can do Batch programing in DOS..

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a statement in DOS using shell script to display a word?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you add two matrices using Linux shell script?

write ashell script to add awo matrix using array.


In Shell script. How do I ask for and accept two numbers and then calculate the sum of the supplied numbers and display the sum.?

It depends on the script language you are using. In the Korn shell, you can say: echo -n "Enter the first number: " read first echo -n "Enter the second number: " read second let third=$first+$second echo The answer is $third


How do you write a script which lists the 10 Shell System variables?

You don't need a shell script to do that. Since you don't say what 10 shell variables you want, you can list them all by using the 'set' command to list all known in-use shell variables in the current session.


How do you convert a present tense to a past tense sentence by using shell script?

To convert a present tense sentence to past tense in a shell script, you can use tools like sed or awk to replace the verb forms. For example, you can use sed to replace "is" with "was" or "goes" with "went". Write a script that searches for specific present tense verbs and replaces them with their corresponding past tense forms.


How do you read a pdf file name using a shell script?

Your question is unclear; Are you talking about reading a filename that happens to contain PDF, or reading a PDF file itself? The shell script doesn't know or care what kind of files you are using. It all depends on what you intend to do with the file.


How to use if statement programming in qlikview?

When using statement programming in qlikview you Open the QlikView application, Open Edit Script, Write code for the SET script statement, Save QlikView file, Sheet property Window, Select text object, Select text object, Write code of LET script statement, Sheet property Window and now you should see the LET statement.


How do you print a line on screen shell script?

That would depend on what shell you're using. Most seem to have a command similar to "echo x" which will print x to the terminal.


Shell script that counts the no of lines and words in a file without using wc command?

A shell script by itself would be a fairly poor way of doing this; using something like awk or perl with a pattern match for a word would be a much better choice. There are many examples on the net for this type of process using perl, for example.


How do you write a program using the gotoxy statement and print function to display letters of the alphabet on the computer screen?

There is no gotoxy statement in C.


How do you display qBasic programming if their is no MS-DOS prompt?

If you are using windows, MSDOS shell is integrated by default..


What is the purpose of using echo command?

The echo command echoes out any of the command line arguments given to it. It is commonly used in shell scripts to echo what portions of the shell script are doing.


Write a shell script for addition of two numbers using expr?

a=10; b=20; c=`expr $a + $b`; printf "$c";