Useful Windows Commands You Should Know

in #computer6 years ago (edited)

Useful Windows Command Prompt Tricks

1.Command History

Command history is a feature in many operating system shells, computer algebra programs, and other software that allows the user to recall, edit and rerun previous commands. Command line history was added to Unix in Bill Joy's C shell of 1978; Joy took inspiration from an earlier implementation in Interlisp.
Using this command, you can track down your command history. This will turn out to be useful when you are trying to look for some command that you’ve used in the past, but can’t remember.
Command History. The Command History lists previously used commands. The commands can be re-executed and/or saved to a file. The Command History can be opened from the pulldown menu marked by a black triangle to the right of the Command Line. ... Navigation skips commands for which the entire line is identical.

DOSKEY is a utility for DOS and Microsoft Windows that adds command history, macro functionality, and improved editing features to the command line interpreters COMMAND.COM and CMD.EXE . It was included as a TSR program with MS-DOS and PC DOS versions 5 and later, then Windows 9x, and finally Windows XP and later.


doskey /history


2.How to run Windows OS cmd.exe multiple commands one after another, I use ncrack, commands

I manually open cmd.exe and I paste this code:

ncrack --user Admin -P pass1.txt IPAddress:3389 -oN good.txt -f
When pass1.txt is finished I paste manually to cmd.exe the second command, which contains the Pass2.txt etc...:

ncrack --user Admin -P pass2.txt IPAddress:3389 -oN good.txt -f
then I paste manually to cmd, Pass.3txt

ncrack --user Admin -P pass3.txt IPAddress:3389 -oN good.txt -f

You can execute more than one command by placing a | between two commands.

For example:

%s/htm/html/c | %s/JPEG/jpg/c | %s/GIF/gif/c
This example substitutes for htm, then moves on to JPEG, then GIF.

The second command (and subsequent commands) are only executed if the prior command succeeds.

I read the issue that prompted this, and it is a legit need, but running multiple commands is something the shell already does. I'd rather investigate ways to make that happen via the shell. Most likely this would be a platform check before building the command line that is passed to watchexec.

3.Shortcut Keys in Microsoft Word

  • F1 key: Get help on a selected command or use the Office assistant.
  • Shift and F1 Key: Review text formatting.
  • F2 Key: Move text or image.
  • Shift + F2 Key: Copy text.
  • F3 Key: Insert an autotext entry.
  • Shift + F3 Key: Change the case of the selected text.
  • F4 Key: Perform last action again.
  • Shift + F4 Key: Perform a Find or Go To action again.
  • F5 Key: Displays the Go To dialogue box. You can also get to Find and Replace from here.
  • Shift + F5 Key: Move to a previous revision.
  • F6 Key: Go to the next frame or pane.
  • Shift + F6 Key: Go to the previous frame or pane.

4.Learn to Crack Passwords (So You Can Protect Yourself)

Everyone should know how to create a secure password, but responsible geeks can take it a step further by learning how to break into a comptuer. This skill—whether used on a Windows machine or a Mac—can really help you understand how computer thieves and hackers will try to get at your data. Learning the process means you know how to protect yourself against the process—not just with strong passwords but with encryption and other settings tweaks that keep thieves out. Similarly, you may also want to learn how to crack a Wi-Fi network’s WEP and WPA password.

5.ipconfig Command

Another indispensable and frequently used utility that is used for finding network information about your local machine like IP addresses, DNS addresses etc

Basic Use: Finding Your IP Address and Default Gateway

Type the command ipconfig at the prompt.

The following is displayed

Using ipconfig command to find IP address on windows computer

Ip config has a number of switches the most common are:

ipconfig /all – displays more information about the network setup on your systems including the MAC address.

ipconfig /release – release the current IP address

ipconfig /renew – renew IP address

ipconfig /? -shows help

ipconfig/flushdns – flush the dns cache

|To Access�| Run Command|
|Accessibility Controls |access.cpl|
|Accessibility Wizard |accwiz|
|Add Hardware Wizard |hdwwiz.cpl|
|Add/Remove Programs| appwiz.cpl|
|Administrative Tools |control admintools|
|Adobe Acrobat (if installed) |acrobat|
|Adobe Designer (if installed) |formdesigner|
|Adobe Distiller (if installed) |acrodist|
|Adobe ImageReady (if installed) |imageready|
|Adobe Photoshop (if installed) |photoshop|
|Automatic Updates |wuaucpl.cpl|
|Bluetooth |Transfer |Wizard fsquirt|
|Calculator calc|
|Certificate Manager |certmgr.msc|
|Character Map |

Run command


accwiz - Accessibility Wizard

c: - C: Drive

calc - Calculator

Run DCOM User Security cfgwiz32 - ISDN Configuration Wizard

cleanmgr - Clean up hard drives

cliconfg - SQL Client Configuration

clipbrd - Windows Clipboard viewer

List of Excel Shortcuts


Formatting Shortcuts


these all command we should know how to use, because if we are working online, any time our system can get fault, and with help of this knowledge we can get our system ok, i saw there are many computer operator who do know how to install window, its not mean that they can not do it,, here problems is we never give importance to do this, so for best result we need to get every type of knowledge of computer special i think steemian need more computer use,, so if we will be expert in computer use, and technical issue, we will be satisfy and we can get our system ok at home service,,

today i thought that i need to share these knowldege on steemit about special and important command that are use mostaly in computer use, hope you all will like my this effort ,, if my post is good then do not forget to give me upvote hope you will give me upvote,, i am not very much expert but i read that these command are important in computer use, so i am did post in the favour these command,,

@yousafharoonkhan

Follow me upvote resteem

Sort:  

very good post I congratulate you, important information friend.

thanks brother for good comment ..
@betzaelcorvo

información valida, buen post amigos saludos y suerte..! pulgar arriba

i will try to do best next , your comment is my strength thank alot frend

gracias respetado, también eres genial

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by yousaf from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 62948.49
ETH 2583.15
USDT 1.00
SBD 2.74