Cyber Security

  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • MOBILE
  • COMPUTER
  • NETWORKING
  • HACKING
  • OTHER
    • TECH HACK
    • SOCIAL MEDIA TRICKS
    • TECHNICAL KNOWLEDGE

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

Author: yadram | On:17th Sep, 2020| Comments: 4

Hello, guys!  I’ll be showing you 18 CMD Tricks And Tips things that you can do using your windows command prompt So let’s get started.

Table of Contents

  • 18 CMD Tricks and Tips:-
    • 1. Open CMD in any folder directly:
    • 2. Create a secured folder:
    • 3. Hide any folder:
    • 4. Shutdown your computer using cmd:
    • 5. Customize your command prompt window:
    • 6. Create a Wi-Fi hotspot:
    • 7. Clear your command prompt screen:
    • 8. Get a list of all installed programs:
    • 9. Copy cmd output:
    • 10. CMD shortcuts:
    • 11. Check if you are running cmd as admin:
    • 12. Check your IP and get other details:
    • 13. Sorted list of all files and folders in the current directory:
    • 14. Open a webpage using cmd:
    • 15. Know the IP address of any website:
    • 16. Get the list of all the running processes:
    • 17. Open CMD as admin:
    • 18. Set the current time of your system:

18 CMD Tricks and Tips:-

Today I am going to tell you about 18 cmd tricks and tips from this post help so that you can show magic to your friends with this cmd amazing hack.

1. Open CMD in any folder directly:

If you find it very difficult to navigate through folders using the Command prompt you can do this simple trick. Just open the particular folder in your windows explorer, click on the address bar, type CMD and hit enter this will open the command prompt window in that particular folder.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

 

2. Create a secured folder:

Well, if you want to create a secured folder that cannot deleted, or even copied or moved to another folder then here is a simple command to do that. Just open the command prompt window in your folder where you want to create your secured folder then type in “md aux\” then hit enter. This will create a folder named as “aux” in the current directory.

Now you can put your data in this folder and if you try to copy this folder or move this folder to any other folder you won’t be able to do it. Neither you will be able to delete this folder

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

And if you want to remove this folder simply type “rd aux\” and hit enter. This will remove the folder. But before removing this folder, just make sure that the folder is empty.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

3. Hide any folder:

If you want to hide a particular folder (Folder name “yuvi”), then just navigate to that particular folder. Then open cmd there then type “attrib +h +s +r yuvi” and hit enter. Now this is going to hide that particular folder. Now if i refresh it you will see the folder is gone. Now even if I have enabled this option to show the hidden files, i am not able to see that particular folder.

Now if I want to bring that folder back, I’ll simply type “attrib -h -s -r yuvi” Now, this is going to bring that folder back. So this is a very useful command, as you can put your important files or passwords and just hide them from spying eyes!

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

4. Shutdown your computer using cmd:

Now, if you want to shut down your pc using cmd you can do it simply by typing the command “shutdown -s” This will shut down your computer  as soon as you hit enter. And, “shutdown -r” to restart and “shutdown -l” to log off your pc.

Read This:-

  • What is Data Transmission Mode ?
  • MS Office 2016 User Interface introduction.

if you want to set a countdown to your shutdown command simply type shutdown /s /t then the number of seconds of countdown. In this case the pc will shut down after 50 seconds And if you want to show a particular message just before shutting down your pc you can just append this thing “/c” and your message. This message will be shown just before your computer shuts down. (Ex. shutdown /s /t 30 /c “I am going to sleep”)

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

5. Customize your command prompt window:

You can change the background color and the font color of your command prompt using this simple command. Now, just before knowing which colors you can set, simply type “color help” This will show the name of all the colors and their respective code. Now if you want to change the background to Blue and the font color to red, you can type “color 14” This will change the background color to blue and font color to red. Similarly you can play around by setting different colors and see which one you like. The default one is 07.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

Next, you can change the prompt that is shown here. by simply typing “prompt your_name” or anything that you want to set and hit enter. This will show the prompt to whatever you’d set. Next, if you want to change the title of this window you can type in “title My cmd” this will change the title of the command prompt window.

6. Create a Wi-Fi hotspot:

Now, if you want to create a Wi-Fi hotspot using cmd simply type in netsh wlan set hostednetwork mode equals to allow ssid equals to your hotspot name then key equals to the password that you want to set for your hotspot.(Ex. netsh wlan set hostednetwork mode=allow ssid=yadram key=yadram987) now make sure that you enter a password of minimum eight characters so here i will enter password and hit enter so this will create a hotspot network with name yadram and password as yadram987.

now if you want to start the hotspot simply type netsh wlan start hostednetwork so this will start your hotspot and share your internet connection now if you want to stop the hotspot simply type in netsh wlan stop hostednetwork this will stop your hotspot.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

7. Clear your command prompt screen:

Well this is a very common command which most of you must have already used. To clear the screen or log of your command window simply type CLS and hit enter. so this will clear all the line of codes and commands that were present earlier.

8. Get a list of all installed programs:

if you want to get a list of all the installed programs that are currently installed on your system simply type wmic  product get name and hit enter this will load the list of all the programs are currently installed on your system this may take time depending on the number of programs that you’ve installed. So, here is the list of all the installed programs.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

9. Copy cmd output:

Now, if you want to save the output of the CMD command there is a simple way to do that. Simply type in your command then space then pipe symbol then type clip and hit enter(EX. Color help | clip). this is going to save the output of this particle commandd to the clipboard and now if I want to save it in a text file and simply open the notepad and paste the clipboard contents.

So this is the output of this particular command so in this particular case i have got the list of all the directories and files that are currently present in this particular folder.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

10. CMD shortcuts:

you can use up arrows and down arrows to navigate through your previous commands you can use tab to show the file names or folder names in your current directory so tab is used to autocomplete your files or folder names snf 3rd shortcut is F7 this will give you the list of all the commands that you have used till now

11. Check if you are running cmd as admin:

To check this simply type net session. If you get access denied then it means that you are not running cmd as admin.

Read This:-

  • Introducation to Hacking | Types Of Hackers? | Phases of Hacking?
  • How To Earn Money By Maxnerwellness? | Referral Code

 

12. Check your IP and get other details:

To do so type ipconfig /all then hit enter. This will give you details regarding your IP and all the adapters and the connections that are currently present on your system.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

13. Sorted list of all files and folders in the current directory:

if you want to get a list of all the files and folders then you know the command it is dir so you can see the list of all files and folders but if you want the order list simply type dir /b /s | sort so this will give you a list of all files and folders in a sorted way you can also see the path of each files.

14. Open a webpage using cmd:

If you want to open a webpage using cmd simply type start then the website name the hit enter. So this will open that particular website in your default browser.

Read This:-

  • 6 Facebook Privacy Settings You Should Change Now [2020]
  • Introducation to Ports And Protocols | important networking terms

 

15. Know the IP address of any website:

If you want to know the ip address of any particular website then simply type in ping then the name of the website and hit enter so using this command you can get the IP address of that particular that side.(Ex. ping www.facebook.com)

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

16. Get the list of all the running processes:

To do so, simply type tasklist and hit enter. This will give a list of all the services that are currently running on your system. If you want a detailed list simply type “tasklist -v” so this will give detailed list of all the services running currently.

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

17. Open CMD as admin:

Well there are many ways to do this you can either search command prompt then right click then click on run as administrator or you can press the windows key + X key and click the command prompt (admin) This will ask for permission. Click on yes So now you have opened the administrator version of command prompt.

Read This:-

  • What Is AI? | Artificial Intelligence Kya Hai?
  • Windows 10 Features Or Windows 7 Me Kiya Antar Hai?

 

18. Set the current time of your system:

To do so open CMD as admin then type the command “time” it will ask you for a new time simply pass in your new time then hit enter. So as you can see as soon as i hit enter you see the time changing here So the time has changed. But this command is not recommended.(Cmd tricks and tips)

18 CMD Tricks and Tips | Command Prompt | CMD Amazing Hack 2020

 

Thanks for reading 18 CMD Tricks And Tips and CMD Amazing Hack Post. Give it a share up if you enjoyed. Leave us a comment down below with any other questions, and don’t forget to subscribe to this Blog for more great Post.

Please Share
Previous Post
Next Post

Reader Interactions

  • Top 12 Latest Technology Trends 2021

    Top 12 Latest Technology Trends 2021

  • What is AI | What IS Artificial Intelligence | How Does AI Work?

    What is AI | What IS Artificial Intelligence | How Does AI Work?

  • What is a Keylogger |  How to Avoid Keylogger?

    What is a Keylogger | How to Avoid Keylogger?

  • Top 10 Best Antivirus For PC 2021 | Antivirus Software

    Top 10 Best Antivirus For PC 2021 | Antivirus Software

  • Top 5 Hacking Websites and Tutorials | How To Hack

    Top 5 Hacking Websites and Tutorials | How To Hack

  • Top 10 Most Famous Hackers In The World

    Top 10 Most Famous Hackers In The World

Comments

  1. sandeep kumar says

    September 18, 2020 at 10:23 am

    Useful knowledge

    Reply
    • yadram says

      September 18, 2020 at 3:51 pm

      thanks

      Reply
  2. Sandeep kumar says

    October 31, 2020 at 8:20 pm

    Good

    Reply
    • yadram says

      November 1, 2020 at 8:26 pm

      thanks

      Reply

Leave a Reply Cancel reply

Primary Sidebar

Follow on Social media

Latest Post

  • Top 12 Latest Technology Trends 2021
  • What is AI | What IS Artificial Intelligence | How Does AI Work?
  • What is a Keylogger | How to Avoid Keylogger?
  • Top 10 Best Antivirus For PC 2021 | Antivirus Software
  • Top 5 Hacking Websites and Tutorials | How To Hack

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Categories

  • COMPUTER TRICKS (23)
  • HACKING (13)
  • MOBILE TECHNOLOGY (20)
  • NETWORKING (11)
  • SOCIAL MEDIA TRICKS (38)
  • TECH HACK (41)
  • TECHNICAL KNOWLEDGE (24)

Pages

  • Contact Us
  • Home
  • Disclaimer
  • About me
  • privacy Policy
  • Term and conditions
  • Networking
  • Blog

Footer

About Me

My name is yadram agnihotri. I have created this blog to connect everyone with technology. In this, through my little knowledge, I keep updating daily about social media tricks, tech hack, computer tricks, technical knowledge and mobile technology. So that everyone should be connected with technology. Read More…

yadram: View My Blog Posts

Categories

  • COMPUTER TRICKS (23)
  • HACKING (13)
  • MOBILE TECHNOLOGY (20)
  • NETWORKING (11)
  • SOCIAL MEDIA TRICKS (38)
  • TECH HACK (41)
  • TECHNICAL KNOWLEDGE (24)

Pages

  • About me
  • Blog
  • Contact Us
  • Disclaimer
  • Home
  • Networking
  • privacy Policy
  • Term and conditions
Copyright ©2020 Cyber Security