Skip to main content


How To View The Command Prompt History


The Command Prompt, Is a very powerful tool defaulted to the Windows platform and as It's name Implies, allows users to enter & execute commands, as well as perform certain administrative tasks. If you're an IT specialist or simply a computer hobbyist heavily utilizing the Command Prompt, It's history will continue to accumulate. If you've forgotten a command or two and wish to recall It, In this tutorial, I will show you how to view the Command Prompt history.


Before I begin, do note that this only applies to the current session of the Command Prompt. In other words, as long as It's open and actively running, It's history can be viewed. The moment you close the Command Prompt, all Is lost, hence will start from scratch.

I personally use It on a daily basis, therefore It's always minimized In the Taskbar, In readiness for my next command/query. There's been countless times that I wanted to view a previously-entered command, and what I'm about to demonstrate, served me very well Indeed.

The process Is extremely simple and will be done within the Command Prompt Itself, so without further delay, let's rip Into this tutorial.

Step One:
To access the Command Prompt, open the Run menu, enter cmd and hit OK.



Step Two:
On the grounds that you've been using the Command Prompt without closing It, It's history can be viewed In that active session. To do this, simply hit the F7 key on your keyboard, and you will then see a list of commands that you've physically entered as demonstrated below.



Step Three:
Upon clicking the last entry In the above Image, as you can see, the result relative to that command has been returned.



Step Four:
Another method to view the history, Is to simply enter the doskey /history command, as shown below.



Step Five.
I've hit the Enter key on my keyboard, and my previously entered commands are clearly displayed.



Final Thoughts:
The methods used to view the Command Prompt history, particularly hitting the F7 key as per Step Two above, are extremely simple, yet unbeknownst to the majority of users. You now know that any command you've executed In the current session, can be viewed with Incredible ease, regardless of when It was entered.



Comments

Popular posts from this blog

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key , that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size. 

How To Rename Any Power Plan In Windows 10

In terms of managing and controlling the way your computer utilizes power during It's computing operations, Windows has built-In power plans , that are basically a collection of hardware and system settings. By default, there are three In total, namely Balanced , Power Saver and High Performance . Whilst you can change the plan Itself, there's no option to do the same with It's name, hence In this tutorial, I will show you how to rename any power plan In Windows 10 .