Changing the system prompt, Computer Engineering

Assignment Help:

Q. Changing the System Prompt?

When you change the directory, you would like to keep track of it. The best way to do this is by displaying the name of the current directory along with the drive name in the system prompt. If you're PC does not display the directory name after the drive name in the system prompt, you can use the PROMPT command to display it. For instance, consider the following command:

C>PROMPT $P$G

If you use this command, DOS display the directory name after the drive name. The system prompt change to C :\>, A :\>, etc. if a directory is a selected in the drive, DOS also includes that in the system prompt. For example, if the WORD directory is selected in drive C, the system prompt changes to C:\WORD>.

The prompt command can also be used to display additional information in the system prompt. For instance, you can display the current date and/or time. Consider the following commands:

                            PROMPT $P $D $G

                            PROMPT $P $T $G

The first command displays the current date along with the path of the selected directory in the system prompt. The next command displays the current time along with the selected directory in the system prompt.


Related Discussions:- Changing the system prompt

The need of parallel computation, The Need Of Parallel Computation With...

The Need Of Parallel Computation With the advancement of computer science (CS), computational speed of the processors has also improved many a time. Moreover, there is certain

Explain direct broadcast & limited broadcast, Explain Direct broadcast & li...

Explain Direct broadcast & limited broadcast. Broadcast is a method to send a packet to all the stat ions on an exact network at once. Broadcast systems permit the possibility

Describe about instruction set, Q. Describe about Instruction set? Inst...

Q. Describe about Instruction set? Instruction set is the boundary where computer designer and computer programmer see the same computer from various viewpoints. From the desig

Give difference between assembler and compiler, Give difference between ass...

Give difference between assembler and compiler. Assembler: It is the translator for an assembly language of computer. An assembly language is a low-level programming language

What types of data entry services do you perform, What types of data entry ...

What types of data entry services do you perform? Our business is to understand what data you require entered and in what particular format. After an initial analysis is perfor

What is data link layer, Q. What is Data link layer? Data link layer: ...

Q. What is Data link layer? Data link layer: data link layer is responsible for transmitting a group of bits between adjacent nodes. Group of bits is termed as frame. Network

State about dynamic modelling and its inputs, State about Dynamic modelling...

State about Dynamic modelling and its inputs Dynamic modelling is elaborated further by adding concept of time: new attributes are computed, as a function of the attribute chan

Define the heat transfer processes, Heat Transfer Coursework An interna...

Heat Transfer Coursework An internal combustion engine of a passenger car is operating at steady state conditions e.g. constant speed (r.p.m.) and load (torque), so the engine

Produce an analysis model of the proposed system, Question: Read the fo...

Question: Read the following case study and answer the questions based on it. The local airline company needs to develop a system for controlling air traffic at the airport

What are the update types possible, What are the update types possible? ...

What are the update types possible? The following update types are possible: Update type A: The matchcode data is updated asynchronously to database changes. Update

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd