5 Command Prompt tricks that few users know about.

Command Prompt is a long-standing tool integrated into various versions of Windows, with many uses that not everyone is aware of. The following 5 lesser-known Command Prompt tips will significantly enhance your computer usage skills.

No matter which version of Windows you're using, Command Prompt remains a very useful tool. Of course, if you're just a regular office worker, you don't really need to open Command Prompt. However, if you're a programmer, a systems engineer, or simply someone who enjoys tinkering with computers, opening Command Prompt is a frequent occurrence. And the following five Command Prompt tips will be very helpful to you.

Because Command Prompt and PowerShell (on Windows 10) lack a user interface and are purely text-based, they have many limitations. Using command prompts (cmd) offers incredibly useful conveniences; you can handle everyday problems simply with text-based commands instead of using other software or tools. Therefore, adding these 5 Command Prompt tips will help you work faster using Command Prompt or provide handy tricks to execute commands quickly.

27516

5 Command Prompt tricks that few users know about.

1. Quickly copy the ipconfig parameters.

ipconfig is a quick command in Command Prompt that allows you to check all your network-related parameters, and if you want to retrieve all that information and save it to a specific location on your computer, use the following command.

Step 1: Instead of copying and pasting as usual, use the Command Prompt trick: `ipconfig | clip` and press Enter to run it. This command will copy all the parameters when running the `ipconfig` command without displaying them in the Command Prompt window.

Step 2: Then paste it into a Notepad page to check the result. You will see that all the information is recorded with just one extremely simple command.

2. Open Command Prompt / PowerShell directly from the folder.

Normally, we would have to open Command Prompt and then type a few lines of command to access the folder we want to work with, and usually right-clicking on the folder doesn't offer a direct Command Prompt option.

However, if you hold down Shift and right-click again, you'll see the message " Open Command Prompt windows here ."

Note: On Windows 10, if you are using PowerShell, the command line will display "Open PowerShell windows here".

And then you can do whatever you want with the Command Prompt/PowerShell box you just opened.

3. List the commands used in Command Prompt / PowerShell

During a Command Prompt or PowerShell session, do you remember how many commands you used? This simple Command Prompt trick will help you list them instantly. Use the command ` doskey /history` to display them.

Note: A session is counted from the moment you open Command Prompt and haven't closed it yet; if you close it, no data will be saved.

4. Open the folder directly in Command Prompt / PowerShell

A Command Prompt trick allows you to quickly access a specific folder or use commands to quickly manipulate any folder or file.

To do this, simply drag and drop the file or folder into the Command Prompt and PowerShell windows.

Note: This will not work if Command Prompt is in Administrator mode.

5. Run multiple commands simultaneously in Command Prompt/PowerShell

What if you want to run more than one command at the same time—perhaps two, three, or even more—with a single command click? To perform this Command Prompt trick, see the instructions below.

Step 1: For example, if TipsMake wants to run both the ipconfig and netstart commands simultaneously, how do you do it? It's very simple; just type ipconfig && netstart and press enter.

The && character allows you to run two commands simultaneously; the first command will be displayed first on the screen. You can apply three or more commands using this syntax.


These 5 Command Prompt tips will be essential for you when using cmd and PowerShell. You'll also see how convenient, easy to use, and easy to remember they are, so remember them if you can. This article mentions two terms: Command Prompt and PowerShell. Essentially, these are two quite similar tools, but there are differences between them. To learn more about them, please refer to our comparison article on Command Prompt and PowerShell .

Other System articles
  • What is PowerShell? How to use PowerShell effectively on a computer.

    powershell is a command-line program that is gradually becoming the default on windows 10, replacing the outdated cmd. however, powershell is still a relatively new program for computer users. taimienphi will introduce you to powershell and how to use it effectively.
  • The difference between Command Prompt and Windows PowerShell

    the two most common commands are command prompt and powershell. while they may look similar on the surface, they are actually quite different. there are many differences between command prompt and powershell.
  • Run CMD with administrator privileges on Windows 7, 8, 8.1, and 10.

    when you open cmd with administrator privileges on a windows computer, you can execute all commands that require administrator privileges. there are many ways to open command prompt as administrator on windows; below, tipsmake will guide you on how to open and run cmd with administrator privileges on windows 7, xp, windows 8/8.1, and windows 10.
  • Commonly used CMD commands on Windows

    the most commonly used and popular cmd commands on windows are useful for network administrators and it students, both at home and in businesses, when troubleshooting or checking network or computer system problems. this article explains the meaning and usage of cmd commands on a computer.
  • CMD commands, Command Prompt commands in Windows 7 and 8

    the cmd command is used to access folders in windows quickly. some people also use the command prompt to ping networks, check hardware information, etc., of their computer. there are many different cmd commands; this article will summarize the most commonly used cmd or dos commands (windows 98, windows 95, and ms-dos).
  • How to use the Ping command on a computer

    you can easily check your internet connection without using any software by using the ping command. tipsmake will guide you through the detailed steps of checking your network using the ping command in the content below.
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup