Documente Academic
Documente Profesional
Documente Cultură
You may be reluctant to open the command prompt thinking that you have to enter complicated commands to
look for a le or run a program. The good news is that it is not as complicated as you think, and if you make good
use of it, it can make your life easier and better.
You may be surprised as to how short the commands actually are. The following tips will help you get various
things done with easy-to-remember commands.
1. Cipher Command
When you “erase” your les on a mechanical hard drive, they are still there until that space is overwritten with new
data. That can take some time, but with the command
cipher /w:c
random data is written over that space and make sure the les you deleted are really gone.
https://www.maketecheasier.com/useful-command-prompt-tricks/ 1/7
12/8/2017 12 Useful Command Prompt Tricks You Should Know - Make Tech Easier
ipconfig /release
ipconfig /renew
The rst command will release your current IP address while the second command will get a new IP address for
your machine.
Flushing your computer’s DNS can be used when a site changes its IP address so you’re not taken in the wrong
direction. Type
ipconfig /flushdns
ping URL
or
ping IP ADDRESS
(Replace the URL and IP ADDRESS in the command) and packets will be sent. If you get them back, you will know
everything is working just ne. If not, there is obviously something getting in the way.
COMMAND/?
Replace “COMMAND” with the exact command you want to learn more information about. For example, to nd
out what the command ipconfig does, enter
ipconfig/?
https://www.maketecheasier.com/useful-command-prompt-tricks/ 2/7
12/8/2017 12 Useful Command Prompt Tricks You Should Know - Make Tech Easier
The command prompt will show you the command and what it does.
sfc /scannow
and hit Enter. The time this task will take will depend on how fast your computer is. This could easily take up to
an hour or so.
powercfg /a
powercfg /list – Shows you all the power schemes in the current user’s environment
powercfg /energy – After observing your computer for 60 seconds it will create an HTML report with
data on how power ef cient your computer is.
powercfg /sleepstudy – If your device supports InstantGo devices and applications, you can learn
which ones are waking up your computer by using this command.
8. Assoc
Files are af liated with a certain program in Windows. When you open a program, certain les are opened
automatically. If you wish to associate these les with a program, you can use the assoc command.
https://www.maketecheasier.com/useful-command-prompt-tricks/ 3/7
12/8/2017 12 Useful Command Prompt Tricks You Should Know - Make Tech Easier
By typing assoc into the command prompt, you can see a list of program associations and le name
extensions. Let’s say that you want the text les to be associated with something else, type:
9. Hide Folders
If there a folder that have sensitive information, you can hide it by using this simple command. Type the drive
where you have this le and then type
attrib +h +s +r
net share
and press Enter. The command will also show you their shared names.
https://www.maketecheasier.com/useful-command-prompt-tricks/ 4/7
12/8/2017 12 Useful Command Prompt Tricks You Should Know - Make Tech Easier
Add your real domain name and substitute administrator with the actual user name of a Domain Administrator.
Change cmd with the command you want to try, and you can run as an administrator regardless of who’s logged
in.
Conclusion
With these commands, using the command prompt is going to get a lot easier. What tricks would you add to the
list? Leave a comment and let us know.
The Complete Windows 10 Customization Guide
Updated with customization tips for Windows Creators Update. In this ebook we’ll be exploring the multitude of
options to fully customize Windows 10. By the end of this ebook you’ll know how to make Windows 10 your own
and become an expert Windows 10 user.
Get it now!
https://www.maketecheasier.com/useful-command-prompt-tricks/ 5/7
12/8/2017 12 Useful Command Prompt Tricks You Should Know - Make Tech Easier
How To Buy Bitcoins In 2017 In People in Kota Kinabalu are selected to Effective Trick To Remove Eye Bags And
Malaysia test the new Siemens Hearing Aid Wrinkles Quickly
www.cryptmarkets.com Hear.com dermacareadvices
1 Tip That Finally Turned Yellow Teeth Kylie Jenner, 19, Buys Fourth California Jennifer Lopez, the New Princess of Bel
White Mansion at $12M Air, Expands Her Real Estate Portfolio
Health & Beauty Mansion Global Mansion Global
7 Tips for Creating a Stunning Website Hotel Prices You're Not Allowed to See! 11 Bollywood Star Kids Who Could Turn
for Free tripsinsider into Great Heroines
Wix CriticsUnion
Recommended by
2 comments
Ted
“systeminfo” is one I use a lot. It gets you OS build, original install date, manufacturermodel and boot time among
other things. I probably use it the most to get boot time if I think a server rebooted recently. I also use it to show
my boss that our critical nancial server were put into service in 2004.
“set” is another one I use often. It returns tons of info but I primarily use it for logon server to gure out which DC
authenticated the user when troubleshooting authentication issues. “set l” (the letter L) will give you just the
entries that start with L like logon server.
“whoami” is a quick way to nd out what account is logged in. I rarely used this until my current job which has a
bunch of trusted domains. The start menu might say “John Smith” but you can never assume it’s john Smith from
the parent domain. “whoami /groups” is a nice way to see the user’s groups from their PC.
https://www.maketecheasier.com/useful-command-prompt-tricks/ 6/7
12/8/2017 12 Useful Command Prompt Tricks You Should Know - Make Tech Easier
Great article (and comment, thanks Ted). I’ve been working and tinkering with Linux for years, but I still learn
interesting and useful things from articles such as this. Thank you.
About Contact Advertise Write For Us Terms of Use Privacy Policy RSS Feed Terms
https://www.maketecheasier.com/useful-command-prompt-tricks/ 7/7