...

💻

Understanding windows commands can significantly improve your productivity and efficiency while using your computer. In this guide, we’ll dive into 30 essential Windows commands you need to know, from basic file management to advanced networking features. Let’s get started!

Launching Command Prompt 🚀

To begin, launch your Command Prompt in beast mode. Press Windows key + S, type in cmd, right-click, and select Run as administrator. If you want Command Prompt to always open as an administrator:

  • Open the file location of the shortcut.
  • Right-click on the shortcut, select Properties, then Advanced.
  • Check the box for Run as administrator by default.

Setting Command Prompt to run as administrator

Hiding Your Secrets 🤫

Want to hide sensitive files? Use the copy command to hide a zip file within an image. Here’s how:

  1. Zip your files.
  2. Use the command: copy /b image.jpg + secret.zip hidden_image.jpg.

This creates an image that appears normal but contains your files. To encrypt the files in a folder, use:cipher /e [folder_name]Encrypting files using Cipher command

Making Folders Invisible 👻

Step-by-Step Instructions:

Open Command Prompt:

  • Press Windows key + S, type cmd, right-click on Command Prompt, and select Run as administrator.

Navigate to the Folder:

  • Use the cd command to navigate to the directory where your folder is located. For example:bashcd C:\Users\YourUsername\Documents

Hide the Folder:

  • Use the attrib command to hide the folder. Replace [folder_name] with the name of your folder. For example, if your folder is named SecretFolder, type:bashattrib +h +s +r SecretFolder
  • This command sets the folder attributes to hidden (+h), system (+s), and read-only (+r).

Make the Folder Visible Again:

  • To make the folder visible again, replace the plus signs with minus signs. For example:bashattrib -h -s -r SecretFolder
  • This command removes the hidden, system, and read-only attributes from the folder.

Visuals:

  • Hiding Folder: The command prompt showing the attrib +h +s +r SecretFolder command.
  • Making Folder Visible: The command prompt showing the attrib -h -s -r SecretFolder command.

Network Commands 🌐

Using network commands to see Wi-Fi networks and view passwords.

Wi-Fi networks and view passwords.

Step-by-Step Instructions:

.Open Command Prompt:

  • Press Windows key + S, type cmd, right-click on Command Prompt, and select Run as administrator.

See Every Wi-Fi Network You’ve Ever Connected To:

  • In the Command Prompt, type the following command and press Enter:bashnetsh wlan show profile
  • This command will display a list of all Wi-Fi networks your computer has connected to.

View the Password for a Specific Network:

  • To view the password for a specific network, use the following command. Replace "network_name" with the name of the Wi-Fi network you want to check:bashnetsh wlan show profile name="network_name" key=clear
  • This command will display detailed information about the network, including the password under the Key Content field.

Batch Files for Convenience 📜

Save frequently used commands in a batch file. Open Notepad, paste your command, and save it as command.bat. Run it anytime to execute the command quickly.Creating a batch file

System Information 🖥️

Get a quick overview of your computer’s specs with:systeminfoRetrieving system information with Systeminfo command

Secure Copy with SCP 🔒

To copy files to a remote server securely:scp file.txt username@server_ip:/path/to/destinationUsing SCP to copy files securely

Accessing CMD from Explorer 📂

Quickly open Command Prompt from any folder by typing cmd in the address bar of Explorer. To open Explorer from CMD, type:explorer .Opening Command Prompt from Explorer

Mapping Folders as Drives 🗂️

Map a folder to a drive letter using:subst S: "C:\path\to\folder"

To remove it, use:subst S: /dMapping a folder to a drive letter

Customizing Your Command Prompt 🎨

Change the color of your command prompt by using:color [background][text]

For example, color 2E sets a green text on a black background.Changing Command Prompt color

Using Curl for Quick Tasks 🌀

Modern versions of Windows come with curl built-in. You can check the weather with:curl wttr.inUsing Curl to check the weather

Creating QR Codes with Curl 📱

Create a QR code directly in the command line:curl -o qr.png "https://api.qrserver.com/v1/create-qr-code/?data=your_text"Generating a QR code using Curl

ChatGPT in the Command Line 🤖

Yes, you can interact with ChatGPT right from the command line! Use Curl to send queries and get responses:curl [your_api_endpoint]Using Curl to interact with ChatGPT

Using Telnet for Fun 🎮

Enable Telnet to connect to fun services like telehack.com:telnet telehack.comConnecting to Telnet service

Command History 📜

View your command history using:doskey /historyDisplaying command history

PowerShell: The Future of Command Line 🛠️

Finally, consider switching to PowerShell for a more powerful command line experience. It’s built into Windows Terminal and offers enhanced features.Using PowerShell for advanced commands

With these windows commands, you can enhance your productivity and streamline your tasks. Keep practicing these commands, and you’ll become a pro in no time!

Made with VideoToBlog

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

es_ESSpanish
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.