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 slack, What is slack? 'Slack' is the amount of time you have wh...

What is slack? 'Slack' is the amount of time you have which is measured through while an event ‘really happens' and while it ‘should happen’. The term ‘really happens' can a

#MyLife, where should I work?

where should I work?

List the various file attributes, List the various file attributes. A f...

List the various file attributes. A file has certain other attributes, which differ from one operating system to another, but typically consist of these: Name, identifier, type

Mips - computer architecture, MIPS - computer architecture: The MIPS ...

MIPS - computer architecture: The MIPS ISA, so far 3 instruction formats Fixed 32-bit instruction 3-operand, load-store architecture 32 general-purpose register

What is visibility give uml notation, What is visibility give UML notation?...

What is visibility give UML notation? Visibility refers to the ability of a process to reference a feature from another class and has possible valued of public, private, protec

Define abap/4 layer, Define ABAP/4 layer? The ABAP/4 layer defines the ...

Define ABAP/4 layer? The ABAP/4 layer defines the data formats used by the ABAP/4 processor.

Explain Not recently used page replacement algorithm, Not Recently Used Pag...

Not Recently Used Page Replacement Algorithm The not recently used abbreviated as NRU page replacement algorithm works on the subsequent principle: while a page is referenced,

Example of input a single digit, Q. Example of Input a Single Digit? I...

Q. Example of Input a Single Digit? Input a Single Digit for example (0,1, 2, 3, 4, 5, 6, 7, 8, 9)  CODE SEGMENT   ... ; Read a single digit in BL register with ech

Classification of interrupts - computer architecture, Classification of int...

Classification of interrupts:   1. a) asynchronous   external components or hardware malfunction 1.b)synchronous   function of program state (for example over

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