Uyisebenzisa njani i-Command Prompt ukufumana nayiphi na ifayile

uphawu lwenkqubo

Phantse sonke sinamaxwebhu amaninzi kunye neefayile ezigcinwe kwindawo yokugcina iikhompyuter zethu. Sikwanazo ezinye zazo zisasazwe kwiifolda kwiindawo ezahlukeneyo. Ubumdaka. Oku kwenza kube nzima kakhulu ukufumana kunye nokulungelelanisa ezi fayile. Yiyo loo nto ibangela umdla kakhulu ukwazi indlela yokusebenzisa umyalelo okhawulezayo ukukhangela nayiphi na ifayile kwiqela lethu.

Oku kunokuba yindlela esebenzayo ngakumbi kunokusebenzisa i Isikhangeli seFayile, ukuba siyakwazi ukuyiphatha kakuhle. Ekuphela kwento ekufuneka siyenzile kukufunda ukuqhela ukuphatha umgca womyalelo (CMD). Kweli nqaku sichaza indlela yokwenza:

Yintoni i-Command Prompt?

cmd

Nangona phantse bonke abasebenzisi beWindows sele beyazi, ayikhe ibe buhlungu ukukhumbula ukuba yintoni kanye kanye I-Command Prompt, ekwabizwa ngokuba yi-cmd.exe, cmd okanye Umyalelo oboqayo. Sisicelo, hayi inkqubo eyinxalenye yenkqubo yokusebenza.

Umsebenzi wayo kukuphumeza imisebenzi emininzi eqhele ukwenziwa kujongano lomzobo. Le misebenzi yenziwa ngemiyalelo ethile. Ezinye zazo ziluncedo kakhulu ekusombululeni iingxaki zeWindows eziqhelekileyo. Kweli nqaku sidwelisa Yonke imiyalelo wonke umsebenzisi weWindows kufuneka ayazi ukufumana okuninzi kwesi sixhobo.

Eminye yale miyalelo ingasinceda ngomsebenzi, okhankanywe ngasentla, wokukhangela iifayile kwikhompyuter yethu, njengoko siza kubona ngezantsi.

Uyivula njani iCommand Prompt?

cmd

Ngokuxhomekeke kuluphi uhlobo lwenkqubo yokusebenza esiyisebenzisayo, kuya kufuneka sisebenzise indlela ethile yokuvula i-Command Prompt okanye i-CMD. Olu lukhetho:

KwiWindows 10 kunye neWindows 11

Kukho iindlela ezimbini zokuvula ikhonsoli yomyalelo Windows 10 kunye Windows 11:

  • Eyokuqala: fikelela kwibhokisi yokukhangela yeWindows, bhala apho CMD kwaye emva koko ucofe Uphawu lwenkqubo.
  • Okwesibini: bhenela kwidibaniso engundoqo Windows + R, emva koko chwetheza cmd.exe kwifestile Baleka kwaye ekugqibeleni cinezela faka.

Kwiinguqulelo zangaphambili zeWindows

Ukuba unePC esasebenza noguqulelo lwenkqubo yokusebenza ngaphambili Windows 10, nantsi into ekufuneka siyenzile:

  1. Ukuqala, sihambisa isalathisi se mouse kwi kwikona esezantsi ekhohlo kwesikrini.
  2. Emva koko sicofa ngeqhosha lasekunene (okanye sebenzisa indibaniselwano yesitshixo Windows + X).
  3. Emva koko, kwimenyu yomsebenzisi wamandla, sikhetha i-Command Prompt.

Ukukhangela njani iifayile ngeCommand Prompt

Ngoku ukuba sicacile malunga nokuba yintoni i-Command Prompt kunye nendlela esinokuyivula ngayo kwi-PC yethu, ngoku sinokugxila kwinto ephambili yeposi yethu: indlela yokusebenzisa i-Command Prompt ukukhangela ifayile. La ngamanyathelo ekufuneka uwalandele:

Ngokungagqibekanga, xa uvula iCMD iya kuvela unobumba ohambelana neWindows drive (C:). Ukuba sifuna ukukhangela ezinye iidrive ngaphandle kweWindows, kuya kufuneka kuqala sitshintshe unobumba ohambelana nomqhubi esiwufunayo (D:, E:, njl.). Emva koko, siya kongeza isimboli sokubuyela umva kwaye siya kubhala igama lolawulo okanye ifayile engezantsi. Umzekelo:

C:\ Iifayile zeBlog

Myalelo ngcolile

Umyalelo we-dir

Kodwa amaxesha amaninzi asilazi igama ngqo lefayile esiyifunayo. Xa oku kusenzeka, i-Command Prompt isinika ithuba lokwenza uphendlo olusekwe kwiikhrayitheriya ezahlukeneyo ngokusebenzisa i myalelo ngcolile:

Khangela ngokohlobo

Kukho umyalelo osivumelayo Fumana zonke iifayile zohlobo olufanayo ngaphakathi kwencwadi eneenkcukacha ethile. Umzekelo, ngomyalelo dir /b/s *.doc + Ngena, zonke iifayile ezinolwandiso lwe-.doc ezigcinwe kule folda ziya kuboniswa.

Kulo mzekelo, i/s iswitshi isetyenziselwa ukuxelela umyalelo ukuba uquke neencwadi ezinenkcukacha kukhangelo; Ngakolunye uhlangothi, i /b iswitshi isetyenziselwa ukubonisa iifayile ngaphandle kokubandakanya imethadatha, ukufunda lula.

Uphendlo lwesiqulathi seefayili

Ukuba into esiyifunayo yile Phendla iziqulathi zeefayili ezisezantsi okanye oovimba bolawulo abaphantsi kolawulo, yile nto esifanele siyenze. Umzekelo, ukubhala dir AMAPHEPHA /AD /b /s + Ngenisa, uluhlu lweefolda eziqulethwe kwifolda ephambili yaMaXwebhu iya kuvela kwiscreen.

Khangela iziqulathi zeefayili ezinamagama angaziwayo

Olu lolona khetho lungcono Fumana olo lawulo silukhangelayo, kodwa esigama lichanekileyo esingalaziyo okanye esingalikhumbuliyo. Kumalunga nokusebenzisa njenge "clue" elinye lamagama anokuvela kwisihloko saloo folda. Nanku umzekelo: dir /s/b /A:D «D:Amanqaku» +Intshayelelo. Ngale ndlela, ukukhangela kuya kwandiswa kuzo zonke iifolda kunye neefolda ezisezantsi kwi-D: idrayivu equlethe igama elithi "amanqaku."

Myalelo fumana

Lo myalelo usivumela ukuba sifumane iifayile ezisekelwe kumagama athile. Yena myalelo fumana ikhangela umtya wokubhaliweyo kwifayile enye okanye ngaphezulu. Emva koko, kwiziphumo, ibonisa imigca yesicatshulwa apho ikhoyo. Esi sisintaksi sayo esisisiseko:


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.