01:59 the code for /f "skip=9 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @if "%j" NEQ "" (echo SSID: %j & netsh wlan show profiles %j key=clear | findstr "Key Content") & echo.
I know some of these from DOS. I like the energy he brings to the video. He's like a kid sharing an exciting secret.
There is one more interesting thing about CMD that not everyone knows. CMD is very respectful of your file shortcut. If you create a shortcut for your batch script and associate it with a custom icon, then the console window launched by this shortcut will take not only the shortcut name in the window header, but also the selected icon. I don't think any other file (like a text file) behaves like this.
You're a godsend, dude. You got me interested in Linux, and after I've had a draining past few months trying to get through a lot of dry information for the A+ (because I tried to focus on the hardware - my biggest weakness - and not the scripting and pentesting/cyber defense aspects that I love), I'd about lost my drive for studying. I've been trying everything and just felt like a burnout loser. I came back and watched two of your videos and, already, I feel my motivation coming back. Your stuff is fast-paced and direct, and it helps my brain to get psyched up so damn much. Thank you!!!
Not sure I’ll ever use most of these but it feels good to watch
I love how quickly your videos run. Definitely adds value, I learn a lot. Thanks.
That's not NetworkChuck, it's Harry Potter! ⚡
Before watching the video I’m still living without the 30 commands but after watching this video, I can’t live without it!
I feel that Chuck and David Bombal compliment each other really well. On one hand Chuck is really enthusiastic and full of energy (which is great), and David is more cool calm and collected. Both are great teachers
This video is a game-changer! I never knew some of these commands existed, and they’re so useful. Thanks for putting this together—it’s going to save me so much time! Btw, I know it has nothing to do with the video but does anyone know how to remove the Windows watermark in the right corner? it's quite annoying, thanks!
the color command only holds until you restart console. If you want to keep the selected colors permanently, you have to right click the shortcut, properties, and then change the colors through the "colors" tab. This will ensure your colors will stay even after restarting cmd
to get an Administrator CMD prompt without using the mouse and not changing the settings permanently: 1. Press Windows Key and release it 2. type "CMD" 3. press and hold the <CTRL> and <SHIFT> keys while hitting the <Enter> key This also works for all other commands to run them as Administrator
Many Thanks :-) for sharing your valuable knowledge, is very much appreciated.
I love these tips but I wish there was more detail regarding what each part of the command (i.e "-s" or "+h") does! Great video Chuck!!
The use case for F2 is actually pretty handy. If you're running various back to back commands but using alternate properties or changing directories for the command, you can simply revert back to command core and make those alterations by remembering the last character of the command you want to edit for the next line. An extremely basic example of this might be "ipconfig /release F2 r" where you can then complete the command with "renew". F4 can similarly edit the beginning of the command.
Here's a really awesome one that you didn't mention - Bookmarking previous commands: Hold down ALT and press any number from 1-4. If you see nothing or it says "Digit argument" then you'll have to use the F keys instead, eg. F1, F2 etc.
Your are absolutely right we can not recognised the difference between these two photos but we judge them by their size
Thank you for all the time you give Mr Chuck, you've helped more than you would ever believe. I dont think I'd still be breathing on this Earth had you not made these videos. It's a long story I'll spare you, but it is very much true. You've given me hope when I had none left.
As someone old enough to have started with the command prompt, those first few F keys were helpful when having to rerun command with changes - different options, corrections, etc.
@grandetaco4416