answersLogoWhite

0


Best Answer

echo "%username%"

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

%computername%

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is dos command to display the user-name?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is dos command to display the user name?

just dispaly the environment variable : echo %USERNAME%


What dos command display the contents of a directory?

DOSEXAFTERBREAKFAST


What command can you use to display failed logins?

faillog -u [username]


What is the dos command to display how much memory is free?

If you mean storage, you can find it with DIR


What MS-DOS command can display hidden files?

The attrib command is capable of displaying files that have been marked as hidden.


When using a real-mode command prompt how will DOS display the file name MyDocument.doc?

Mydocum~.doc


Explain All the Internal Command of DOS?

DIR :- DIR is used to display the contents of a drive or directory.


What is the DOS command to navigate to a directory?

CD which stands for Change Directory.Entering CD /? will display a list of supported options.


What is the difference between unix command and dos command?

They are different languages, so you need to use a different word with different syntax to do the same thing. For example, to display the contents of the current directory, the command in MS-DOS is dir, but in UNIX it's ls.


Which MS-DOS command can display hidden files?

If you just want to display the hidden files, run following command: dir /ah this will show you all hidden files and folders.. However if you want to change the attributes permanently, use attrib command..


Which MS DOS command can display hidden files?

If you just want to display the hidden files, run following command: dir /ah this will show you all hidden files and folders.. However if you want to change the attributes permanently, use attrib command..


Explin the use of the wild cord in the ms dos?

Is used as a general search method for the ms dos days. at the command prompt: c:\ dir *.txt; means search and display all files ending with a '.txt' and display them on the screen.