5 secrets commands from the command prompt.

 

Definitional :

 - Cmd or command prompt is a software for interpreting DOS commands that displays a command line user interface (cli).It was introduced with the MS-DOS operating system, which appeared in the early 1980s. It is the equivalent of the Unix shell. it is located in the directory: "C:\windows\system32\cmd.exe". It can interpret Batch files (.bat files) that contain a series of commands.


There are thousands of possible commands. Today we will discover 5 of them that are super convenient and little known to users.



1. Tasklist

Tasklist is a command that allows to display all the processes running, their PID and their use of in the RAM memory.



2. whoami /PRIV

The "whoami /priv" command is used to display the security privileges of the current user.


3. chcp 65001

"chcp 65001" is used to convert the current programe in utf-8 encoding.



4. bootrec

Bootrec is a multi-tool for repair his pc it has many commands for example

-bootrec /fixmbr

-bootrec /fixboot

-bootrec /scanos

-bootrec /rebuildbcd
   



5. %USERNAME%

Its not really a command it's an environment variable which contains the user name who opened the CMD.




06/21/2025

Did you like this article? Let us know.
 
 https://cybercode256.blogspot.com/p/contact-us.html

Comments

Post a Comment