Nangona ukuthetha ngemiyalelo ngokuzenzekelayo kusibuyisela kumaxesha e-MS-DOS, inyaniso kukuba kwi-CMD okanye Windows Command Prompt Isesisixhobo esisebenzayo, njengoko sihlala sibona kumanqaku ahlukeneyo kule bhlog. Enyanisweni, kukho inani le I-CMD iyalela ukuba sonke siyazi ngentliziyo, kuba baya kwenza ubomi bethu lula kakhulu.
Ukuthetha inyani, kukho inani elikhulu lemiyalelo ekhoyo kangangokuba akunakwenzeka ukuyifunda yonke. Uluhlu alunasiphelo. Yintoni ebalulekileyo kukwazi indlela yokusingatha eminye imiyalelo eyisiseko esivumela, umzekelo, ukwenza abalawuli kunye neefayile, ukwenza uhlengahlengiso kwinkqubo, imisebenzi ezenzekelayo kunye nezinye izenzo ezincedo.
Kodwa ngaphambi kokudwelisa imiyalelo ye-CMD ekufuneka uyazi, kubalulekile ukukhumbula ukuba yintoni kanye kanye i-Command Prompt. Yinkqubo leyo yinxalenye yeWindows (ngoko ayinakukhutshwa) kwaye oko ivumela ukuba senze iintshukumo eziphambili kwindlela yokusebenza ngemiyalelo. Ngokubonakalayo ijongeka ifana ne-GNU/Linux terminal, nangona umda wayo umncinci kakhulu.
Zimbini iindlela z vula ikhonsoli yomyalelo kwi-Windows 10 kunye ne-Windows 11:
- Yiya kwibhokisi yokukhangela yeWindows, chwetheza CMD kwaye emva koko ucofe Ukuyalela ngokukhawuleza.
- Sebenzisa indibaniselwano yesitshixo Windows + R, emva koko ubhale cmd.exe en la ventana Baleka kwaye ucinezele faka.
Usenokuba sele ukwazi konke oku. Kwaye kuyenzeka ukuba sele usazi uninzi loluhlu lwemiyalelo esiza kuyiveza ngezantsi. Kodwa kuqinisekile ukuba uya kufumana ezinye ezininzi eziya kuba luncedo kakhulu kuwe:
Uluhlu lwemiyalelo yeCMD
Le yile Uluhlu lwemiyalelo yeCMD ekufuneka bonke abasebenzisi beWindows bayazi ukufumana okuninzi kwinkqubo yokusebenza: yenza imisebenzi ibe lula, lungisa iimpazamo kunye nokunye okuninzi. Sibabonisa kwizintlu ezimbini: imiyalelo esisiseko kunye nemiyalelo yokuzikhethela.
Imiyalelo esisiseko
Okokuqala sidwelisa imiyalelo esisiseko, umntu uphantse athi "ulwazi olufunekayo": Sinikezela ngokuhlelwa ngokwealfabhethi:
- CD: Isetyenziselwa ukutshintsha abalawuli kunye nokubonisa ulawulo lwangoku.
- CLS-Icima iziphumo kwiphepha le-Command Prompt. Iluncedo kakhulu xa sinexesha elide kwaye ikhonsoli yomyalelo igcwele kakhulu idatha.
- CHKDSK- ukujonga i-drive ekhethiweyo kwiimpazamo ezinokwenzeka.
- CMD-Siyisebenzisa ukuvula iwindow entsha ye-Command Prompt.
- NEKOPI-ukukopa iifayile enye okanye ngaphezulu kwindawo entsha.
- UMHLA-Isetyenziselwa ukutshintsha umhla wenkqubo.
- DEL: ukucima iifayile.
- DIR-Ibonisa zonke iifayile kunye neefolda ngaphakathi kwefolda yangoku.
- PHUMA: ngokwengqiqo, isetyenziselwa ukuvala kunye nokuphuma kwi-CMD.
- FIND-ukufumana umtya wokubhaliweyo kwifayile enye okanye ngaphezulu.
- NCEDA- Ivula uluhlu lwayo yonke imiyalelo ekhoyo.
- IPCONFIG: ibonisa ulwazi olusisiseko lwekhompyutheni yethu (idilesi ye-IP, inkqubo esiyisebenzisayo kunye nesimo soqhagamshelwano lwenethiwekhi).
- LABEL-Ukutshintsha, ukucima, okanye uleyibhelishe idrayivu.
- MD: ukwenza ulawulo olutsha.
- HLELA- ukuhambisa iifayile okanye abalawuli.
- INETSTAT-Ibonisa ulwazi oluneenkcukacha malunga noqhagamshelwano lwePC: i-TCP, izibuko ezivulekileyo, izibalo ze-Ethernet kunye nezinye iinkcukacha.
- NQANDA: ukunqumamisa inkqubo eqhubekayo.
- I-PING: ukujonga iimpazamo zenethiwekhi, okanye ukuseka ukuxilongwa malunga nemo, isantya kunye nomgangatho.
- NOKUSHICELELA: ukuprinta.
- RD: ukucima uvimba weefayili.
- PHILA: ukufumana imixholo yefayile.
- REN: ukuthiya ngokutsha ifayile (RENAME iyasetyenziswa kwakhona).
- I-SFC / ISKENZO-Yenza iskena esipheleleyo sazo zonke iifayile zenkqubo, ukufumanisa iimpazamo kunye nokuzibuyisela xa kunokwenzeka. Inkqubo inokuthatha imizuzu emininzi.
- CIMA: Isetyenziselwa ukucima iPC.
- START-Ivula ifestile enye ukuqhuba inkqubo.
Imiyalelo ekhethwayo
Nangona sibabandakanya kudidi lwesibini, oko akuthethi ukuba ukubaluleka kwabo kuncinane. Kuthetha kuphela ukuba le yimiyalelo yeCMD esiza kuyisebenzisa ngamaxesha athile kuphela okanye kwimisebenzi ethile. Zezi zilandelayo:
- Amafama angathathi-Isetyenziselwa ukubonisa okanye ukuguqula imibutho yolwandiso lwefayile.
- IINKONZO- ukubonisa okanye ukutshintsha iimpawu zefayile ethile.
- I-BCDEDIT-Isetyenziselwa ukuguqula idatha yokumisela i-boot.
- CALL: ukubiza inkqubo yebhetshi.
- I-CHCP: Isetyenziselwa ukuseta inani lephepha lekhowudi esebenzayo.
- I-CHDIR: ibonisa igama lolawulo lwangoku, nangona lukwasetyenziswa ukutshintsha abalawuli.
- I-CHKNTFS-Siyisebenzisa ukufumana inkqubo yefayile ye drive.
- I COLOR-Tshintsha imibala yekhonsoli yeWindows.
- ikhampasi- ukuthelekisa imixholo yeefayile ezimbini nangaphezulu.
- compact- ukujonga okanye ukuguqula ucinezelo lweefayile kwizahlulo zeNTFS.
- Guqula- Guqula ivolumu yeFAT ibe yiNTFS.
- DISKPART- Lo myalelo uqala isixhobo sokulawula iidiski. Isetyenziselwa ukwenza izahlulelo kunye nefomathi yokuqhuba.
- UMQHUBI QUERY– ukubonisa uluhlu lwabo bonke abaqhubi kwikhompyuter yakho.
- ECHO: ukuvula okanye ukuvala i-echo yomyalelo.
- Sula: ukucima iifayile.
- FC: ngumyalelo ongomnye womsebenzi weCOMP.
- FINDSTR: Umyalelo ofana no FUMANA, kodwa ngomlinganiselo omkhulu wokucacisa.
- KUNYE-ukuqhuba umyalelo wefayile nganye ekhankanyiweyo kwiseti yefayile.
- IFOMU: ukufomatha idiski.
- I-FSUTIL- Isetyenziselwa ukulungisa iifayile.
- FTYPE: Umsebenzi wayo kukuguqula uhlobo lwefayile esetyenziswa kwimibutho yolwandiso lwefayile.
- YIYA E- Ukuqondisa i-CMD kumgca obhaliweyo ngaphakathi kweprogram yebhetshi.
- GPRESULT- Ibonelela ngolwazi malunga nesiphumo semigaqo-nkqubo ye-RSoOP yomsebenzisi onikiweyo.
- ICACLS-Igcina ii-DACL zokufanisa iifayile kunye neefolda kwifayileACL.
- IF- Ukulungiswa kwemiqathango yeenkqubo zebhetshi.
- I-MKDIR: Umsebenzi wayo uyafana nowomyalelo we-MD.
- MKLINK- ukwenza ikhonkco lokomfuziselo.
- MAX-Isetyenziselwa ukuqwalasela izixhobo zenkqubo.
- KANINZI: Ibonisa ulwazi lwesikrini ngesikrini.
- VULA IFAYILE-Isetyenziselwa ukuvumela umlawuli ukuba adwelise okanye akhuphe iifayile okanye iifolda.
- PATH-Bonisa okanye usete iindlela zokukhangela kwiifayile ezinokusetyenziswa.
- I-POPD: ukutshintsha kulawulo olugcinwe kumyalelo wePUSHD.
- QHUBA: ukutshintsha i-Command Prompt.
- I-PUSHD: inceda ukugcina ulawulo lwangoku kwaye isetyenziswe kamva ngumyalelo wePOPD.
- REM-Isetyenziselwa ukuloga izimvo kwifayile yebhetshi.
- YETSHE endaweni yayo: ukubuyisela iifayile.
- IROBOKHOPI: ukukopa iifayile.
- SET-Isetyenziselwa ukubonisa, ukuseta, okanye ukususa izinto eziguquguqukayo ze-CMD.
- I-SETLOCAL: Ukusebenziseka kwayo kuyafana nomyalelo wangaphambili, nangona ukusebenza kwiibhetshi.
- SC- Ukuseka unxibelelwano kunye nomphathi wolawulo lwenkonzo kunye neenkonzo.
- I-SCHTASKS- Ukwenza ukuba umlawuli wangaphandle enze imisebenzi ethile.
- SHIFT- Isetyenziselwa ukutshintsha indawo yeparameters enokuthathelwa indawo kwifayile yebhetshi.
- Uhlobo: Uhlela imigca yesicatshulwa.
- I-SUBST- Unxulumanisa indlela kunye neleta yokuqhuba.
- INKQUBO-Ibonisa ulwazi loqwalaselo lweWindows.
- ULUHLU LOMSEBENZI-Ibonisa uluhlu lweenkqubo ezisebenzayo.
- TASKKILL: ukuphelisa inkqubo.
- IXESHA: ukutshintsha ixesha ngesandla.
- TITLE- ukutshintsha igama lefestile yeCMD.
- EYAYISEMTHINI- Ibonisa ngomzobo (njengomthi) ubume bolawulo loqhubo.
- TYPE- ukujonga imixholo yefayile yokubhaliweyo.
- VER: isixelela ukuba loluphi uhlobo lweWindows esiyifakileyo.
- QINISEKISA: ukuqinisekisa ukubhalwa okuchanekileyo kwefayile.
- VOL: Ibonisa umthamo okanye umthamo wediski.
- XCOPY-ukukopa iifayile kunye nabalawuli.