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

What is arrays pointers, Q. What is Arrays Pointers? An array is a coll...

Q. What is Arrays Pointers? An array is a collection of similar type of data. Arrays are extremely popular data structures in parallel programming because of their easiness of

What are addressing modes, What are Addressing Modes Many of instructio...

What are Addressing Modes Many of instructions that a computer actually executes during running of a program concern movement of data to and from memory. It is not possible sim

What is the session, What is the session.  Session is a collection of v...

What is the session.  Session is a collection of various groups of method. Every session is assigned to a single control terminal. This terminal is either a pseudo-device. or a

Explain characteristics of the artificial neural networks, Question 1: ...

Question 1: Explain in detail the characteristics of the following artificial neural networks. (a) Recurrent Neural Networks. (b) Self-organising Mapping Neural Networks.

Enumerate the design reusability of vhdl, Enumerate the Design reusability ...

Enumerate the Design reusability of VHDL VHDL.  Functions  and  Procedures  may  be  placed  in  a  package  so  that  they  are  available  to  any design-unit which wishes t

What is instruction cycle, What is Instruction Cycle The simplest model...

What is Instruction Cycle The simplest model of instruction processing can be of two steps. The CPU reads /fetches instructions (codes) from memory one at a time and executes i

What is insert module and goal seek functions there in vba, Visual basic ap...

Visual basic applications have very rich and flexible applications but there is single limitation when using pointer function. Windows API has limited support for function pointers

Example of structural hazards - computer architecture, Example of Structura...

Example of Structural hazards - computer architecture: A machine has shared a single-memory pipeline for instructions and data. As a consequence, when an instruction which con

Software engineering, What are coupling and cohesion and why are they impor...

What are coupling and cohesion and why are they important concepts in software design?

Explain latex in matlab, Matlab already handles naturally easy LaTeX encodi...

Matlab already handles naturally easy LaTeX encodings that permit introducing Greek lettters or modifying the font size and appearance in plots.

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