What will be the output of the command prompt $l$p$g?
A. <c:\>
B. C:\>
C. C:\>>
D. C:<\>
Answer: Option B
Solution (By Examveda Team)
The command prompt string $l$p$g typically represents:$l stands for the current drive letter, which is usually C.
$p stands for the path separator, which is typically \.
$g stands for the command prompt symbol, which is usually >.
When you combine these components:
$l$p$g translates to C:\>.
Now, let's review the options provided:
Option A:
Option B: C:\> - This matches the expected output format of C:>, which is correct.
Option C: C:\>> - This includes an extra > which is not standard in DOS for the command prompt.
Option D: C:<\> - This format < > is not standard for representing the command prompt.
Therefore, upon reviewing again, Option B: C:\> is indeed the correct answer, representing the expected output of the command prompt string $l$p$g in a DOS environment.
Related Questions on Disk Operating System (DOS)
In MS-Dos what command you will use to display system date?
A. Date command
B. Ver command
C. Disk command
D. Format command
While working with Ms-Dos which command transfers a specific file from one disk to another?
A. Copy
B. Diskcopy
C. Time
D. Rename
If you don't know the current time, which command will you use to display
A. Copy
B. Ver
C. Time
D. Format

Join The Discussion