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 a demultiplexer, What is a Demultiplexer ? Ans. Demultiplex...

What is a Demultiplexer ? Ans. Demultiplexer has similar circuit as decoder but here E is obtained as the particular input line, the output lines are similar as decode

Determine about the raster-scan systems, Determine about the raster-scan sy...

Determine about the raster-scan systems Most of the present raster-scan systems contain a separate processor called as display processor. This processor performs graphics func

PADOVAN STRING, write a program that counts the number of occurrences of th...

write a program that counts the number of occurrences of the string in the n-th Padovan string P(n)

Define wide area network, Q. Define Wide Area Network? Wide Area Networ...

Q. Define Wide Area Network? Wide Area Network (WAN): It takes a large geographical area and frequently owned by a state. Data transfer rate is low (few KBPS to 10 MBPS) and er

Difference between a window and a frame?, The Frame class extends Window to...

The Frame class extends Window to describe a main application window that can have a menu bar. A window can be modal.

What is the bios full form, BIOS - Basic Input Output System, Power On ...

BIOS - Basic Input Output System, Power On Self Test (POST) and Loading Bootloader from the Hard disk drive Boot Sector is being completed by BIOS. It started the system for

Can an rc circuit be used as clock source for 8085, Yes, it can be used, if...

Yes, it can be used, if an accurate clock frequency is not needed. Also, the component cost is low contrast to LC or Crystal.

Example on distribution of data, Q. Example on Distribution of Data? !H...

Q. Example on Distribution of Data? !HPF$ PROCESSORS P1(4) !HPF$ TEMPLATE T1(18) !HPF$ DISTRIBUTE T1(BLOCK) ONTO P1  Consequently of these instructions distribution of

Differentiate between logical address and physical address, Differentiate b...

Differentiate between logical address and physical address. A logical address is the address of the data word or instruction as used by a program (it includes the use of base

Dbms, what is cascading rolback?

what is cascading rolback?

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