Nsuku zonke, umsebenzisi wenza kukhompyutha inombolo enkulu yokusebenza okuhlukene namafayela, amasevisi nezinhlelo. Abanye kufanele benze uhlobo olufanayo lwezenzo ezilula ezithatha ngesandla isikhathi esiningi. Kodwa ungakhohlwa ukuthi sibhekene nekhomputha enamandla ukuthi, nethimba elilungile, liyakwazi ukwenza konke ngokwayo.
Indlela engcono kakhulu yokuzenzakalela noma yisiphi isenzo ukudala ifayela nesandiso .BAT, ejwayelekile ebizwa ngokuthi "ifayela le-batch". Leli fayela elilula elilahlayo elenza izenzo ezichazwe ekuqaleni, bese ivala, silinde ukuqaliswa okulandelayo (uma kuphinda kusetshenziswe kabusha). Umsebenzisi ngosizo lwemiyalelo ekhethekile ubeka ukulandelana nenombolo yemisebenzi ukuthi ifayela le-batch kumele lenze ngemuva kokuqaliswa.
Indlela yokudala "ifayela le-batch" ohlelweni lokusebenza lwe-Windows 7
Yenza le fayela kunoma yimuphi umsebenzisi kukhompyutha enegunya elanele lokudala nokugcina amafayela. Ngokwezindleko zokwenza okuncane kakhudlwana - ukukhishwa kwe "ifayela le-batch" kufanele kuvunyelwe kanye nomsebenzisi oyedwa, kanye nesistimu yokusebenza iyonke (isikhathi esivinjelwe ngaso sonke isikhathi sibekwe ngezizathu zokuphepha, ngoba amafayela asebenzayo awakhiwe njalo ngezinto ezinhle).
Qaphela! Ungalokothi ugijime amafayela we-BAT alandiwe kusuka kumthombo ongaziwa noma osolisayo kukhompyutheni yakho, noma sebenzisa ikhodi ongaqiniseki mayelana nokudala ifayela elinjalo. Amafayela afanelekayo alolu hlobo angabhala, aphinde aqambe noma asuse amafayela, futhi afake izigaba zonke.
Indlela 1: Sebenzisa umhleli wombhalo we-Notepad ++ ocebile.
I-Notepad ++ yohlelo iwuphawu lwe-Notepad ejwayelekile kwisistimu yokusebenza ye-Windows, ngokuyidlula kakhulu kwinombolo nokuhlakanipha kwezilungiselelo.
- Ifayela lingadalwa kunoma yimuphi disk noma kufolda. Isibonelo, ideskithophu izosetshenziswa. Esikhathini samahhala, chofoza inkinobho yesokudla yegundane, susa isikhombisi phezu kwenkcazelo "Dala"ebhokisini lokudonsa ngakwesokunxele chofoza inkinobho yesinxele yesinxele "Umbhalo Wombhalo"
- Ifayela lombhalo lizovela kwideskithophu, okuyinto efiselekayo ukubiza njengoba umphumela uzobizwa ngokuthi ifayela lethu lokuhlanza. Ngemuva kokuthi igama layo lichazwe, chofoza idokhumenti ngenkinobho yegundane lesokunxele, futhi kwimenyu yokuqukethwe khetha into "Hlela nge-Notepad ++". Ifayela esiyidale lizovuleka kumhleli othuthukile.
- Indima yokufaka ikhodi lapho umyalo uzokwenziwa kubaluleke kakhulu. Ukukhokha okuzenzakalelayo yi-ANSI, okumele ithathwe esikhundleni se-OEM 866. Kuhlokweni lweprogram, chofoza inkinobho "Izinkomba", chofoza inkinobho efanayo emenyu yokudonsa, bese ukhetha into "Cyrillic" bese uchofoza "OEM 866". Njengesiqiniseko sokushintsha kwekhodi, ukufakwa okuhambisanayo kuzovela efasiteleni ngezansi kwesokudla.
- Ikhodi oyitholile kakade kuyi-intanethi noma uzibhalele ukwenza umsebenzi othize, udinga nje ukukopisha nokunamathisela kudokhumenti uqobo. Esikhathini esingezansi, umyalo oyisisekelo uzosetshenziswa:
shutdown.exe -r -t 00
Ngemuva kokuqala leli fayela le-batch lizoqala kabusha ikhompyutha. Umyalo ngokwawo kusho ukuqala kabusha, futhi inombolo 00 kusho ukulibala ekusebenzeni kwayo ngemizuzwana (kulokhu, ayisekho, okungukuthi, ukuqalisa kabusha kuzokwenziwa ngokushesha).
- Uma umyalo ubhaliwe ensimini, umzuzwana obaluleke kunazo zonke ufika - ukuguqulwa kwedokhumenti evamile nombhalo ube yi-executable. Ukuze wenze lokhu, ewindini le-Notepad ++ engxenyeni engakwesokunxele, khetha into "Ifayela"bese uchofoza Londoloza njenge.
- Iwindi ye-Explorator ejwayelekile izovela, ikuvumele ukuthi usethe amapharamitha amabili ayisisekelo okusindisa - indawo kanye negama lefayela ngokwayo. Uma sesivele sinqume endaweni (i-Desktop izonikezwa ngokuzenzakalelayo), isinyathelo sokugcina sigama. Kusuka kwimenyu yokudonsa, khetha "Ifayela leBatch".
Kumagama ashiwo ngaphambilini noma ibinzana ngaphandle kwesikhala kuzongezwa "UBAT", futhi kuzovela njengengu-skrini ngezansi.
- Ngemuva kokucindezela inkinobho "Kulungile" Ewindini langaphambilini, ifayela elisha lizovela kwideskithophu, elizobukeka njengechungechunge elimhlophe namagare amabili.
Indlela 2: Sebenzisa umhleli we-Notepad text standard.
Unezilungiselelo eziyisisekelo, okwanele ukudala ifayela "elilula" elilula kakhulu. Imfundo ifana nhlobo nendlela eyedlule, izinhlelo zihluke kancane ku-interface.
- Kudeskithophu, chofoza kabili ukuvula idokhumenti yombhalo odalwe ngaphambili - ivula kumhleli ojwayelekile.
- Umyalo owawusekuqaleni, kopisha futhi unamathisele endaweni engenalutho yomhleli.
- Ewindini lomhleli phezulu chofoza ngakwesokunxele ku-inkinobho. "Ifayela" - "Londoloza njengo ...". Iwindi le-Explorer lizovula, lapho okudingeka ukuthi ucacise ukuthi ungayilondoloza kuphi ifayela, yebo. Ayikho indlela yokucacisa isandiso esidingekayo usebenzisa into emenyu yokudonsela phansi, ngakho-ke udinga nje ukungeza egameni "UBAT" ngaphandle izingcaphuno ukwenza kube kubonakale njenge-screenshot ngezansi.
Bobabili abahleli bahle ekudaleni amafayela we-batch. Incwadi ejwayelekile ifaneleka kakhulu kumakhodi alula asebenzisa imiyalo elula, engashadile. Ukuze uthole ukuzenzekela okukhulu kwezinqubo kwikhompyutheni, amafayili e-batch athuthukile adingekayo, adalwe kalula ngumhleli we-Notepad ++ ohamba phambili.
Kunconywa ukuba usebenze ifayela le-.BAT njengomqondisi ukuze ugweme izinkinga ngamanethiwekhi okufinyelela eminye imisebenzi noma imibhalo. Inombolo yemingcele okufanele isethwe ixhomeke ekubunjeni nasekuhlosweni komsebenzi wokuzenzekelayo.