15 CMD Commands Every Windows User Should Know

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • НаукаНаука

Комментарии • 228

  • @JeanYvesHemlin
    @JeanYvesHemlin 3 года назад +49

    Been working for over 30 years in the industry but never learned driverquery. I learn something new everyday! Thanks!

  •  4 года назад +95

    Doing any of these commands in front of your computer illiterate friends will make them think you’re a hacker mastermind lol

    • @the_name_is_Phantom_
      @the_name_is_Phantom_ 3 года назад +7

      And say "be careful not to bully me because you do not know who you are up against" HAHAHAHAHAHAHAH

    • @cat-kp3fe
      @cat-kp3fe 3 года назад +1

      true

    • @lazaros5342
      @lazaros5342 3 года назад +1

      @@cat-kp3fe ahahahahahaaahha

    • @CrxzyEdxtz
      @CrxzyEdxtz 3 года назад

      you got a point

  • @andrieswolmarans1553
    @andrieswolmarans1553 5 лет назад +46

    C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>help
    For more information on a specific command, type HELP command-name
    ASSOC Displays or modifies file extension associations.
    ATTRIB Displays or changes file attributes.
    BREAK Sets or clears extended CTRL+C checking.
    BCDEDIT Sets properties in boot database to control boot loading.
    CACLS Displays or modifies access control lists (ACLs) of files.
    CALL Calls one batch program from another.
    CD Displays the name of or changes the current directory.
    CHCP Displays or sets the active code page number.
    CHDIR Displays the name of or changes the current directory.
    CHKDSK Checks a disk and displays a status report.
    CHKNTFS Displays or modifies the checking of disk at boot time.
    CLS Clears the screen.
    CMD Starts a new instance of the Windows command interpreter.
    COLOR Sets the default console foreground and background colors.
    COMP Compares the contents of two files or sets of files.
    COMPACT Displays or alters the compression of files on NTFS partitions.
    CONVERT Converts FAT volumes to NTFS. You cannot convert the
    current drive.
    COPY Copies one or more files to another location.
    DATE Displays or sets the date.
    DEL Deletes one or more files.
    DIR Displays a list of files and subdirectories in a directory.
    DISKPART Displays or configures Disk Partition properties.
    DOSKEY Edits command lines, recalls Windows commands, and
    creates macros.
    DRIVERQUERY Displays current device driver status and properties.
    ECHO Displays messages, or turns command echoing on or off.
    ENDLOCAL Ends localization of environment changes in a batch file.
    ERASE Deletes one or more files.
    EXIT Quits the CMD.EXE program (command interpreter).
    FC Compares two files or sets of files, and displays the
    differences between them.
    FIND Searches for a text string in a file or files.
    FINDSTR Searches for strings in files.
    FOR Runs a specified command for each file in a set of files.
    FORMAT Formats a disk for use with Windows.
    FSUTIL Displays or configures the file system properties.
    FTYPE Displays or modifies file types used in file extension
    associations.
    GOTO Directs the Windows command interpreter to a labeled line in
    a batch program.
    GPRESULT Displays Group Policy information for machine or user.
    GRAFTABL Enables Windows to display an extended character set in
    graphics mode.
    HELP Provides Help information for Windows commands.
    ICACLS Display, modify, backup, or restore ACLs for files and
    directories.
    IF Performs conditional processing in batch programs.
    LABEL Creates, changes, or deletes the volume label of a disk.
    MD Creates a directory.
    MKDIR Creates a directory.
    MKLINK Creates Symbolic Links and Hard Links
    MODE Configures a system device.
    MORE Displays output one screen at a time.
    MOVE Moves one or more files from one directory to another
    directory.
    OPENFILES Displays files opened by remote users for a file share.
    PATH Displays or sets a search path for executable files.
    PAUSE Suspends processing of a batch file and displays a message.
    POPD Restores the previous value of the current directory saved by
    PUSHD.
    PRINT Prints a text file.
    PROMPT Changes the Windows command prompt.
    PUSHD Saves the current directory then changes it.
    RD Removes a directory.
    RECOVER Recovers readable information from a bad or defective disk.
    REM Records comments (remarks) in batch files or CONFIG.SYS.
    REN Renames a file or files.
    RENAME Renames a file or files.
    REPLACE Replaces files.
    RMDIR Removes a directory.
    ROBOCOPY Advanced utility to copy files and directory trees
    SET Displays, sets, or removes Windows environment variables.
    SETLOCAL Begins localization of environment changes in a batch file.
    SC Displays or configures services (background processes).
    SCHTASKS Schedules commands and programs to run on a computer.
    SHIFT Shifts the position of replaceable parameters in batch files.
    SHUTDOWN Allows proper local or remote shutdown of machine.
    SORT Sorts input.
    START Starts a separate window to run a specified program or command.
    SUBST Associates a path with a drive letter.
    SYSTEMINFO Displays machine specific properties and configuration.
    TASKLIST Displays all currently running tasks including services.
    TASKKILL Kill or stop a running process or application.
    TIME Displays or sets the system time.
    TITLE Sets the window title for a CMD.EXE session.
    TREE Graphically displays the directory structure of a drive or
    path.
    TYPE Displays the contents of a text file.
    VER Displays the Windows version.
    VERIFY Tells Windows whether to verify that your files are written
    correctly to a disk.
    VOL Displays a disk volume label and serial number.
    XCOPY Copies files and directory trees.
    WMIC Displays WMI information inside interactive command shell.
    For more information on tools see the command-line reference in the online help.
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise>

  • @jamirdiaz8751
    @jamirdiaz8751 5 лет назад +89

    Random kid: boots whole family offline
    Crazy hacker: boots whole world offline

    • @lsd333
      @lsd333 4 года назад +6

      ddos isnt hacking my friend did u know that?

    • @x2sq
      @x2sq 2 года назад

      @@lsd333 i know

  • @Incognitoxb
    @Incognitoxb 4 года назад +63

    Flexing on my friends

  • @RealArtVandelay
    @RealArtVandelay Год назад

    When I started using the command and run prompt , I couldnt stop, its so convenient, for repetitive emails where only the date changes, to locking or putting my pc to sleep, and other tools. It's accessible with one clic or press of the key arrow because it keeps in memory the previous commands. Just love it

  • @slapmyfunkybass
    @slapmyfunkybass 2 года назад +4

    Useful, but would say the most useful is holding down the right arrow which retypes the command

  • @williamcattr267
    @williamcattr267 4 года назад +15

    Good video! Lot's of useful tricks here. While I was aware of some of them, there were a few that I learned (and some I forgot about) watching this video.

  • @Ranjitsasmalprofessionsist
    @Ranjitsasmalprofessionsist 5 лет назад +34

    Excellent and useful commands. Please upload more. Thank you :)

  • @diegofabianledesmamotta5139
    @diegofabianledesmamotta5139 3 года назад +4

    5:50 is not "sfc /scanow", but "sfc /scannow"

  • @ricardorose3310
    @ricardorose3310 4 года назад +7

    Thank you so much for this video , it's helping me prep for a IT helpdesk job . Just refreshing me on the basics . Will let you know what happens ....

    • @ramirazoky9408
      @ramirazoky9408 4 года назад +3

      So what happened

    • @sundiatabradshaw6189
      @sundiatabradshaw6189 4 года назад +1

      You need to be learning PowerShell, not basic cmd or batch commands.

    • @ricardorose3310
      @ricardorose3310 4 года назад +3

      @@ramirazoky9408 I got the job 😁 thanks ... Didn't need to know all the prompts but it is helpful knowing more than other new starters 👊

  • @sharrimarasigan1732
    @sharrimarasigan1732 3 года назад +17

    Be having my technical interview later. Thanks for this very accurate details this difinately help😇

  • @ad2motor88
    @ad2motor88 2 года назад

    You are my savior of window.
    My father sent me to study this kind of command in 1986 computer class. This is my first time touch the keyboard with a black n white screen monitor. Hahaha u can imagine the desktop.
    I really excited to learn and my age is 12. But we dont have our own desktop. So i stop learning.
    I know this is the future and i can conquer the internet if my family can support my class.
    Thanks kid.. you wake me up again.

  • @dufc1962
    @dufc1962 6 лет назад +5

    Great video my friend, just one little thing, your text says systeminto instead of systeminfo.

    • @gustavengen6735
      @gustavengen6735 5 лет назад

      and it also said "scanow" instead of "scannow"

  • @TheEpikalREKT
    @TheEpikalREKT 2 года назад

    if you type "prompt lol, it $T"(and press enter) in cmd, it will say "prompt lol, it (hour):(minute):(second):(millisecond)" yes, it can track milliseconds, in case that's useful.

  • @montez1292
    @montez1292 5 лет назад +5

    Very nice video man, I found this very useful!!!

  • @xIMTHESWAGGEYXX
    @xIMTHESWAGGEYXX 4 года назад +14

    another command is called tree just type in tree it displays everything on you computer

  • @credittrickscredithacks
    @credittrickscredithacks 2 года назад +1

    how can you INSERT characters in a command line , without having to delete the entire line , just made changes , to a word in a long string?

    • @creditcardthedoor
      @creditcardthedoor 2 года назад

      If it is the same as Linux it is CTRL + K for after the curser, and CTRL + E for before the cursor.

  • @xaero7262
    @xaero7262 5 лет назад +5

    thanks it fixed missing files

  • @camcherta
    @camcherta 3 года назад +1

    How the taskbar

  • @Mestari-jh6zs
    @Mestari-jh6zs 5 лет назад +3

    now i can flex to my friends with school computers

    • @Cactus2734
      @Cactus2734 4 года назад

      Until you brick one of em

  • @mikinj
    @mikinj 4 года назад +2

    love your job man. good video!!

  • @DatriaxGD
    @DatriaxGD 4 года назад +1

    Use
    shutdown /r /f /t 0
    That works really well!

  • @gerardusschoorl7103
    @gerardusschoorl7103 5 лет назад +4

    Why did I get a phone call reference cmd. How did you get my phone number.I never use the command line.

  • @juniorgallegos4588
    @juniorgallegos4588 5 лет назад +3

    Thank you! great vid! Found it very useful...

  • @FreddyFazbin
    @FreddyFazbin Год назад +2

    I opened command prompt and I typed "Self destruct"

  • @lurkerrekrul
    @lurkerrekrul 3 месяца назад

    Assoc - It's not quite that easy. The assoc command doesn't list the PROGRAM an extension is associated with, it lists the file TYPE. You then need to use the ftype command to find out what the actual program is. And unfortunately, ftype isn't always reliable. For example, assoc tells me that .AVI is an avifile, and then ftype tells me that avifile is associated with Windows Media Player. It's not, it's associated with Media Player Classic, like every other video file. I have no idea where ftype pulls its information from, but it's clearly a different source than whatever Windows actually uses to determine what program to use.

  • @karlhans6678
    @karlhans6678 3 года назад +3

    i get an error when i type cd Desktop: "the system cannot find the path specified"

  • @mohamedayaan131
    @mohamedayaan131 3 года назад

    bro your my best youtuber rn love you bro

  • @Salar_ash
    @Salar_ash Год назад +1

    It's helpful thanks.

  • @mr954133
    @mr954133 2 года назад

    Thank you for sharing! Subscribed

  • @michaelstroman6334
    @michaelstroman6334 2 года назад

    Truly amazing tutorial

  • @shawnsandefur1884
    @shawnsandefur1884 4 года назад +1

    How do I use command prompt to Transfer a Backup copy of my computer to Dropbox

  • @reshan8239
    @reshan8239 5 лет назад +2

    when I type sfc /scanow it says "You must be an administrator running a console session in order to use the sfc utility"

    • @k.p.h4338
      @k.p.h4338 5 лет назад +2

      start it as admin

    • @ricardorose3310
      @ricardorose3310 4 года назад +1

      Right click on CMD and select run as administrator

    • @karthiks1282
      @karthiks1282 4 года назад +1

      If right click doesn't work,What should I do

  • @lendelgalyna1042
    @lendelgalyna1042 6 лет назад +2

    Thanks

  • @logrodesbloqueado100ksubsc3
    @logrodesbloqueado100ksubsc3 6 лет назад +8

    This video deserves more views, amazing video, amazing video though. (y)

  • @4e216
    @4e216 3 года назад +1

    Thanks for uploading! This was usefull

  • @ultronultron4938
    @ultronultron4938 2 года назад

    Thank you so much this is very useful 😊🙂😀 it really helps me....

  • @djempathie.9889
    @djempathie.9889 4 года назад +1

    Hi mate, when I use the scan now, all it does is scan and then when it finishes that is it? Are cant tell if there was a problem and it fixed it. Also can I find hidden and remove virus this way.

  • @belloolaleye3477
    @belloolaleye3477 2 года назад +1

    how to use cmd to sign typed data

  • @cuervo7029
    @cuervo7029 2 года назад

    very useful much appreciated!

  • @HS-zi2ui
    @HS-zi2ui 3 года назад

    great video thank you!

  • @kirannaidu7985
    @kirannaidu7985 2 года назад

    Nice video commando

  • @binhminh417
    @binhminh417 3 года назад

    Thank you!

  • @ajitsinghmann2049
    @ajitsinghmann2049 5 лет назад

    Very good and useful

  • @sora_gr8780
    @sora_gr8780 4 года назад +1

    when i write sfc /scannow its says i must be an administrator but in my pc i have only one user and i think i am the administrator what i have to do

    • @jelle8511
      @jelle8511 4 года назад +2

      maybe open cmd as administrator

  • @uksuperrascal
    @uksuperrascal Год назад

    Please right click your cmd window - in the popup menu - click properties or set default - and set a font size to a bigger font so we can see what you type - PLEASE -

  • @kumailyar
    @kumailyar 3 года назад +1

    how do know the IP address of a management port, laptop is directly connected to it via Ethernet ??? any cmd command ????

    • @essare3918
      @essare3918 3 года назад

      "ipconfig /all" should display it if i remember right, could be getting my wires crossed so don't quote me on that

    • @essare3918
      @essare3918 3 года назад

      Command should display something to this effect.
      "Ethernet adapter Ethernet 2:
      Connection-specific DNS Suffix . :
      Description . . . . . . . . . . . :
      Physical Address. . . . . . . . . :
      DHCP Enabled. . . . . . . . . . . :
      Autoconfiguration Enabled . . . . :
      Link-local IPv6 Address . . . . . :
      IPv4 Address. . . . . . . . . . . :
      Subnet Mask . . . . . . . . . . . :
      Lease Obtained. . . . . . . . . . :
      Lease Expires . . . . . . . . . . :
      Default Gateway . . . . . . . . . :
      DHCP Server . . . . . . . . . . . :
      DHCPv6 IAID . . . . . . . . . . . :
      DHCPv6 Client DUID. . . . . . . . :
      DNS Servers . . . . . . . . . . . :
      NetBIOS over Tcpip. . . . . . . . :"

  • @salaheddinabuein5652
    @salaheddinabuein5652 3 года назад

    Thank you very much.

  • @dee_hfgblank1617
    @dee_hfgblank1617 3 года назад +1

    How to type forward slash please😭😭😭

    • @MakeUseOf
      @MakeUseOf  3 года назад +1

      It isn't next to your shift key on the left side???

  • @Asimoori
    @Asimoori 2 года назад

    Thank-you man

  • @shaziakanwal7140
    @shaziakanwal7140 4 года назад +2

    Nice Video this is very helpful For me Thanks

  • @shaukatali-px5ps
    @shaukatali-px5ps 3 года назад

    very use full commands... thnx

  • @MrRickyy88
    @MrRickyy88 Год назад

    Great video

  • @hardstyleramon7197
    @hardstyleramon7197 6 лет назад +15

    Use ''shutdown -h'' to see all the commands :D

    • @kingofpompeiproductions4001
      @kingofpompeiproductions4001 5 лет назад +3

      HardstyleRamon for mine it shutdown my pc

    • @imponerendeschultz
      @imponerendeschultz 5 лет назад +1

      @@kingofpompeiproductions4001 xDDDDDDDDD

    • @sn1p3r3lions
      @sn1p3r3lions 5 лет назад

      @@kingofpompeiproductions4001 it literally says 'shutdown' in the name, are you dumb? xDDD

    • @moggie
      @moggie 5 лет назад +1

      @@kingofpompeiproductions4001 it's supposed to lmao.

    • @xiam.
      @xiam. 5 лет назад +1

      He legit doublewooooshed you all

  • @dirtbikeboy-ee4vc
    @dirtbikeboy-ee4vc 7 лет назад +7

    Yay I love cmd 😊

  • @ivangospodarski80
    @ivangospodarski80 3 года назад

    Since the nestat -an command requires space, the program only accounts "nestat", how do i make it so it accounts -an?

  • @rafafinal
    @rafafinal Год назад

    Hi. Change audio output using CMD, how can I create? I would like to achieve it to create a voice command

  • @ryvfhxs
    @ryvfhxs Год назад

    at 2:24 bro just doxed himself lol

    • @MakeUseOf
      @MakeUseOf  Год назад

      Lol, public IP address change all the time.

  • @vicky1285
    @vicky1285 3 года назад

    How can I see all remote access to a Virtual Disk Services from the Command Line In Windows 10 and a Vlan2. I want to find the IP Addresses and Mac ID if possible too.

  • @lacizsilla1022
    @lacizsilla1022 6 лет назад +3

    Hi, nice video. Please edit picture 5:50 sfc /scanow to SFC /scannow , thanks

  • @Galaxy_World
    @Galaxy_World 2 года назад

    Ty

  • @dominicparkhurst8773
    @dominicparkhurst8773 Год назад

    I like cipher command

  • @hasnalabouz3348
    @hasnalabouz3348 5 лет назад +1

    cool.PLS DO MORE VIDEOS

  • @JuneBuggGaming707
    @JuneBuggGaming707 Год назад

    Had a quick question after my system isn't been infected by Trojans I downloaded a bunch of software and they can't find it I stumbled across your video on list of open ports what do I do after it's open to clear out any unwanted Trojan

  • @GAMER-sw1ns
    @GAMER-sw1ns 2 года назад

    Nice video! Thank you! And now i can tell my friends"look i am hacker"lmao

  • @kervewillserve
    @kervewillserve 3 года назад +6

    POV: you're watching this video to prank your friends

  • @Edenowo862
    @Edenowo862 4 года назад +1

    How do you fix your key bord

  • @beautypoddar4255
    @beautypoddar4255 3 года назад

    In my CMD when I type driverquery /v some of the part at the top is not shown. Can you help me out.

  • @liquidwawan7114
    @liquidwawan7114 2 года назад

    can cmd open folder explorer windows in set position?? i wanna open a few folder exlorer,8 folder each time, and wanna position each windows in set position each time...but not all the windows in same size.....some small some big...what command can i use??

  • @sukhprxxtt
    @sukhprxxtt 2 года назад

    Kali linux users: WHY U LEARNI'N ABC MAN!?😂

  • @koen203
    @koen203 4 года назад +1

    Lol there was static in the video and I thought I broke my computer.

  • @socoool5918
    @socoool5918 3 года назад

    Thanks , thanks , thanks and thanks

  • @Gojonee1
    @Gojonee1 2 года назад

    cool trick i got is color thing just random and then color 0a color 0b i think until idk

  • @Dragon0697
    @Dragon0697 2 года назад

    ok why are none of these commands working every command just tells me ''******'' is not recognized as an internal or external command, operable program or batch file. ??????????????? what?????????

    • @MakeUseOf
      @MakeUseOf  2 года назад

      Sounds your windows install is messed up - it doesn't know the path to system commands, basically. Do you know hwo to check your environment variables?

  • @naswasbg3915
    @naswasbg3915 2 года назад

    Been Working

  • @davelogan77
    @davelogan77 4 года назад

    Good stuff.

  • @MrShortReels
    @MrShortReels 2 года назад

    how can I install by CMD ??
    which command should I use??

    • @MakeUseOf
      @MakeUseOf  2 года назад

      Install? An app? You just type the name of the install file, the .exe . That's a pretty inefficient way of installing something rather than just double clicking on the file though. Why would you do that?

  • @goodgamer1277
    @goodgamer1277 2 года назад

    Hi I am getting an error while using scf /scannow
    The error is that windows resource protection is denying the access to run the command

    • @chocoslayer1196
      @chocoslayer1196 Год назад

      try using the command DISM /online /cleanup-image /restorehealth then run sfc /scannow again
      it should hopefully work.

  • @JoseFernandez-lm1ry
    @JoseFernandez-lm1ry 3 года назад

    I'm trying to download a decentralized wallet and it says to open the cmd.exe to open file. How do I do this??🤔🤔

  • @kerbalrools06ksp64
    @kerbalrools06ksp64 6 лет назад +1

    Ip configuration won't work

  • @doricasaparasi3859
    @doricasaparasi3859 Год назад

    found it useful.

  • @prasadhgpd2592
    @prasadhgpd2592 6 лет назад

    can any one please tell me how to get microphone boost level and set microphone boost level through command prompt

  • @abdullahsaif1107
    @abdullahsaif1107 2 года назад

    On windows 10 I tried taskkill cmd and it didn't shutdown the application. Though cmd prompt says "C:\WINDOWS\system32>taskkill -im csgo.exe
    SUCCESS: Sent termination signal to the process "csgo.exe" with PID 12564." But nothing happened.

  • @birkabein
    @birkabein 4 года назад

    shutdown -i allows remote shutdown of any computer in your directory

  • @avrohomhousman5958
    @avrohomhousman5958 5 лет назад +1

    do these work on all versions of windows?

    • @PAULNYAROTSO
      @PAULNYAROTSO 4 года назад +2

      cmd is the same in all windows

  • @ITHunt-
    @ITHunt- 3 года назад

    Nice bro

  • @TheKarout12
    @TheKarout12 3 года назад

    you started fine the you had to go screw it up with very small font that we can't see nor follow up with you

  • @dominicparkhurst8773
    @dominicparkhurst8773 Год назад

    I am learning a hard skill

  • @Nevermore14
    @Nevermore14 2 года назад

    I try netsh wlan show profile but its not showing .
    any tips?

  • @chonacamon573
    @chonacamon573 2 года назад

    I am here to lern new things

  • @VishwaVlogskk
    @VishwaVlogskk 4 года назад

    How can i keep my screen awake, without touching mouse, or jiggler tool, dont have admin Access on laptop, any cmd command ?

    • @theredestmage6068
      @theredestmage6068 4 года назад

      Do you have media player? As long as you arent playing anything with sound. Start up a song and mute your computer set it to repeat and shuffle as well.

  • @MK-vw7jb
    @MK-vw7jb Год назад

    I cant see what you typed at tasklist. I am trying to learn for school so i am writting it down 🤣

  • @Cactus2734
    @Cactus2734 4 года назад +1

    Can you detect if you being hacked? Asking for a friend

  • @royalgamerz2525
    @royalgamerz2525 3 года назад +1

    Bro one question that is can we refresh the system without clicking of the mouse and chossing option of refresh or f5
    can directly refresh the desxtopp by cmd answer me pls.

  • @storkille1745
    @storkille1745 3 года назад

    Hi , i do have a relent lent hacker keeps coming, what he did was he hacked or cracked or changed my router firmware to his own firmware. Whatever I do or reset my router I can’t change it. I need help pls, searched the whole net for factory firmware. Can’t find it

    • @MakeUseOf
      @MakeUseOf  3 года назад +1

      That seems quite unlikely - what makes you think it's been hacked?

  • @mogties661
    @mogties661 3 года назад

    _I respect that_

  • @robert112uk
    @robert112uk Год назад

    assoc doesn't work on my windows 11 pc

  • @CrxzyEdxtz
    @CrxzyEdxtz 3 года назад

    cmd is the best

  • @stupidbrain2492
    @stupidbrain2492 2 года назад +1

    learned nothing because i stiil dont know how to do these things