Key Takeaways: #
- Run Command Prompt As Administrator By Default: Save time and streamline your workflow by configuring Command Prompt to automatically launch in administrator mode.
- Hide Files and Folders: Utilize the command to mask sensitive files and folders, making them invisible.
- Encrypt Files: Protect your data with the command, rendering files inaccessible without the appropriate key.
- Discover and Access WiFi Passwords: Leverage the command to view stored network passwords for both individual networks and all saved profiles.
- Explore Command Prompt Functionality: Take advantage of helpful shortcuts like for system details and to launch applications directly from the command line.
Command Prompt Essentials #
- Run Command Prompt as Administrator by Default:
- Navigate to the Command Prompt shortcut's location.
- Right-click the shortcut, select "Properties", then "Advanced".
- Check "Run as administrator" and click "Apply" and "OK".
- Hide Files and Folders:
-
- Hides a folder.
-
- Unhides a folder.
-
- Encrypt Files:
-
- Encrypts all files within a folder.
-
- View Wifi Passwords:
-
- Displays all stored Wi-Fi network profiles.
-
- Reveals the password for a specific network.
-
- Create a Batch File for Wifi Passwords:
- Open Notepad and paste the command.
- Save the file as .
- Run in the Command Prompt to retrieve the passwords.
- Find System Information:
-
- Displays detailed system information.
-
- Securely Copy Files:
-
- Copies a file to a remote server securely.
-
- Launch Command Prompt from File Explorer:
- Type in the address bar of File Explorer to spawn a terminal in the current directory.
- Launch File Explorer from Command Prompt:
- Type in the Command Prompt to open File Explorer in the current directory.
Mastering Command Prompt Enhancements #
-
Customize Command Prompt Appearance:
-
- Sets the color scheme.
-
- Changes the prompt display format.
-
- Altering the title bar text.
-
-
Leverage the Power of Curl:
- Weather report: -l
[38;5;226m \ / [0m Clear [38;5;226m .-. [0m [38;5;118m15[0m °C[0m
[38;5;226m ― ( ) ― [0m [1m↓[0m [38;5;190m12[0m km/h[0m
[38;5;226m-’ [0m 10 km[0m [38;5;226m / \ [0m 0.0 mm[0m ┌─────────────┐ ┌──────────────────────────────┬───────────────────────┤ Wed 05 Jun ├───────────────────────┬──────────────────────────────┐ │ Morning │ Noon └──────┬──────┘ Evening │ Night │ ├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ [38;5;226m \ / [0m Sunny │ [38;5;226m \ / [0m Sunny │ [38;5;226m \ / [0m Sunny │ [38;5;226m \ /[0m Partly Cloudy │ │ [38;5;226m .-. [0m [38;5;154m18[0m °C[0m │ [38;5;226m .-. [0m [38;5;190m21[0m °C[0m │ [38;5;226m .-. [0m [38;5;190m21[0m °C[0m │ [38;5;226m _ /""[38;5;250m.-. [0m [38;5;154m17[0m °C[0m │ │ [38;5;226m ― ( ) ― [0m [1m↓[0m [38;5;118m6[0m-[38;5;154m7[0m km/h[0m │ [38;5;226m ― ( ) ― [0m [1m↗[0m [38;5;118m6[0m-[38;5;154m7[0m km/h[0m │ [38;5;226m ― ( ) ― [0m [1m↘[0m [38;5;214m21[0m-[38;5;202m29[0m km/h[0m │ [38;5;226m \_[38;5;250m( ). [0m [1m↘[0m [38;5;226m13[0m-[38;5;214m20[0m km/h[0m │ │ [38;5;226m
-’ [0m 10 km[0m │ [38;5;226m-’ [0m 10 km[0m │ [38;5;226m
-’ [0m 10 km[0m │ [38;5;226m /[38;5;250m(() [0m 10 km[0m │ │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ 0.0 mm | 0%[0m │ └──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘ ┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Thu 06 Jun ├───────────────────────┬──────────────────────────────┐ │ Morning │ Noon └──────┬──────┘ Evening │ Night │ ├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ [38;5;226m \ / [0m Sunny │ [38;5;226m \ /[0m Partly Cloudy │ [38;5;226m \ /[0m Partly Cloudy │ [38;5;226m \ /[0m Partly Cloudy │ │ [38;5;226m .-. [0m [38;5;154m17[0m °C[0m │ [38;5;226m _ /""[38;5;250m.-. [0m [38;5;190m21[0m °C[0m │ [38;5;226m _ /""[38;5;250m.-. [0m [38;5;190m20[0m °C[0m │ [38;5;226m _ /""[38;5;250m.-. [0m [38;5;154m17[0m °C[0m │ │ [38;5;226m ― ( ) ― [0m [1m↘[0m [38;5;082m1[0m km/h[0m │ [38;5;226m _[38;5;250m( ). [0m [1m↑[0m [38;5;190m10[0m-[38;5;190m12[0m km/h[0m │ [38;5;226m _[38;5;250m( ). [0m [1m↘[0m [38;5;208m27[0m-[38;5;196m38[0m km/h[0m │ [38;5;226m _[38;5;250m( ). [0m [1m↘[0m [38;5;190m11[0m-[38;5;220m16[0m km/h[0m │ │ [38;5;226m-’ [0m 10 km[0m │ [38;5;226m /[38;5;250m(___(__) [0m 10 km[0m │ [38;5;226m /[38;5;250m(___(__) [0m 10 km[0m │ [38;5;226m /[38;5;250m(___(__) [0m 10 km[0m │ │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ 0.0 mm | 0%[0m │ 0.0 mm | 0%[0m │ 0.0 mm | 0%[0m │ └──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘ ┌─────────────┐ ┌──────────────────────────────┬───────────────────────┤ Fri 07 Jun ├───────────────────────┬──────────────────────────────┐ │ Morning │ Noon └──────┬──────┘ Evening │ Night │ ├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ [38;5;226m \ / [0m Sunny │ [38;5;226m \ /[0m Partly Cloudy │ [38;5;226m \ / [0m Sunny │ [38;5;226m \ / [0m Clear │ │ [38;5;226m .-. [0m [38;5;154m16[0m °C[0m │ [38;5;226m _ /""[38;5;250m.-. [0m [38;5;190m20[0m °C[0m │ [38;5;226m .-. [0m [38;5;154m18[0m °C[0m │ [38;5;226m .-. [0m [38;5;154m16[0m °C[0m │ │ [38;5;226m ― ( ) ― [0m [1m↓[0m [38;5;118m4[0m-[38;5;118m5[0m km/h[0m │ [38;5;226m \_[38;5;250m( ). [0m [1m↗[0m [38;5;118m6[0m-[38;5;154m7[0m km/h[0m │ [38;5;226m ― ( ) ― [0m [1m→[0m [38;5;118m5[0m-[38;5;154m8[0m km/h[0m │ [38;5;226m ― ( ) ― [0m [1m↓[0m [38;5;154m9[0m-[38;5;226m14[0m km/h[0m │ │ [38;5;226m
-’ [0m 10 km[0m │ [38;5;226m /[38;5;250m(() [0m 10 km[0m │ [38;5;226m-’ [0m 10 km[0m │ [38;5;226m
-’ [0m 10 km[0m │ │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ 0.0 mm | 0%[0m │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ [38;5;226m / \ [0m 0.0 mm | 0%[0m │ └──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘ Location: افغانستان [33.7680065,66.2385139]
Follow [46m[30m@igor_chubin[0m for wttr.in updates - Check the weather in your city. * - Un-shorten a URL. * - Check a website's status code (e.g., 200 for successful connection). * 95.217.106.105 - Reveals your public IP address. *
301 Moved Permanently
nginx - Generate a QR code for a website. * - Retrieve the latest video title from a YouTube channel. * - Access the latest Tweet from a Twitter account. * 220 dict.dict.org dictd 1.12.1/rf on Linux 4.19.0-10-amd64 <321678919.11554.1717531548@dict.dict.org> 250 ok 150 3 definitions retrieved 151 "Default" gcide "The Collaborative International Dictionary of English v.0.48" Default \De*fault"\, v. i. [imp. & p. p. {Defaulted}; p. pr. & vb. n. {Defaulting}.] 1. To fail in duty; to offend. [1913 Webster]
That he gainst courtesy so foully did default.
--Spenser.
[1913 Webster]
-
To fail in fulfilling a contract, agreement, or duty. [1913 Webster]
-
To fail to appear in court; to let a case go by default. [1913 Webster] . 151 "Default" gcide "The Collaborative International Dictionary of English v.0.48" Default \De*fault", n. [OE. defaute, OF. defaute, defalte, fem., F. d['e]faut, masc., LL. defalta, fr. a verb meaning, to be deficient, to want, fail, fr. L. de- + fallere to deceive. See {Fault}.]
-
A failing or failure; omission of that which ought to be done; neglect to do what duty or law requires; as, this evil has happened through the governor's default. [1913 Webster]
-
Fault; offense; ill deed; wrong act; failure in virtue or wisdom. [1913 Webster]
And pardon craved for his so rash default. --Spenser.
[1913 Webster]
Regardless of our merit or default. --Pope.
[1913 Webster]
-
(Law) A neglect of, or failure to take, some step necessary to secure the benefit of law, as a failure to appear in court at a day assigned, especially of the defendant in a suit when called to make answer; also of jurors, witnesses, etc. [1913 Webster]
{In default of}, in case of failure or lack of. [1913 Webster]
Cooks could make artificial birds and fishes in
default of the real ones. --Arbuthnot.
{To suffer a default} (Law), to permit an action to be called without appearing to answer. [1913 Webster] . 151 "Default" gcide "The Collaborative International Dictionary of English v.0.48" Default \De*fault", v. t.
-
To fail to perform or pay; to be guilty of neglect of; to omit; as, to default a dividend. [1913 Webster]
What they have defaulted towards him as no king. --Milton.
[1913 Webster]
-
(Law) To call a defendant or other party whose duty it is to be present in court, and make entry of his default, if he fails to appear; to enter a default against. [1913 Webster]
-
To leave out of account; to omit. [Obs.] [1913 Webster]
Defaulting unnecessary and partial discourses. --Hales.
[1913 Webster] . 250 ok [d/m/c = 3/0/19; 0.000r 0.000u 0.000s] 221 bye [d/m/c = 0/0/0; 0.000r 0.000u 0.000s] - Define a word.
- Interact with ChatGPT using Curl:
- Paste the following command, replacing "question" with your inquiry: { "error": { "message": "Incorrect API key provided: ''. You can find your API key at https://platform.openai.com/account/api-keys.", "type": "invalid_request_error", "param": null, "code": "invalid_api_key" } }
- Open Websites:
-
- Opens a website in a browser.
-
- Clean Up Temporary Files:
-
- Displays the temporary files directory.
-
- Launches Disk Cleanup to free up storage space.
-
Exploring Advanced Features #
- Enable Telnet:
- Open "Windows Features" (search for "Turn Windows features on or off") and enable "Telnet Client".
- Use Telnet for Interactive Services:
-
- Access interactive services like telnet games or command-line interfaces.
-
- Unlock Command Prompt Shortcuts:
-
- Repeats the previous command, character by character.
-
- Copies a portion of the previous command up to a specified character.
-
- Copies the entire previous command.
-
- Deletes characters in the current line up to a specified point.
-
- Cycles through previous commands.
-
- Inserts the end-of-file character (EOF).
-
- Displays a list of previous commands.
-
- Enters the very first command in the current session.
-
- Enters a previous command based on its number in the session history.
-
- View Command History:
-
- Displays a comprehensive list of previously executed commands.
-
- Embrace the Power of Windows Terminal:
- Access the Windows Terminal by searching for "Terminal" in the Start menu.
- Utilize the tabbed interface to switch between different shells (Command Prompt, PowerShell, Azure Cloud Shell).
- Drag and drop files directly into the terminal to integrate with commands like .
- Embrace PowerShell:
- Switch to PowerShell in the Windows Terminal.
- PowerShell offers a wider range of functionality and is often more powerful than Command Prompt.
"If you wanna get a job and change your stink and life, they've got all the training you need to start learning and growing." - Network Chuck
Resources: #
- IT Pro TV (now ACI Learning): https://www.itpro.tv/
- Use the code NetworkChuck for a 30% discount.
This overview provides a foundation for mastering command line utilities and unlocking the full potential of your Windows operating system. By incorporating these techniques, you can streamline workflows, enhance productivity, and elevate your command-line prowess.
Summary for: Youtube