Iftiimi khadadka amarka ee Windows

Diidmada degdega ah ee amarka Windows-ka ayaa si muuqaal ah loogu sii wanaajin karaa dhawr tallaabo oo fudud. Markaa ma hagaajin kartid oo keliya midabka iyo baaxadda xariiqda taliska, laakiin sidoo kale waad ku sii ballaarin kartaa si ficil ahaan ah (kordhinta keydka, rakibidda qalab ballaaran oo UNIX ah). Amarka degdegga ahi uma soo dhowaado PowerShell 6.0 ama Windows 10 Bash Shell cusub , laakiin uma baahna in lagu qariyo hawlaha maalinlaha ah.


Guryaha, cabbirka kaydka ayaa loo kordhiyay 500:

Iftiimi khadadka amarka ee Windows

Kadib dooro halbeeg font oo gaaraya 14, font "Consolas" iyo jilayaal "dhiiran".

Iftiimi khadadka amarka ee Windows

Cabbirka daaqadda (ballaca iyo dhererka) sidoo kale waa la kordhin karaa:

Iftiimi khadadka amarka ee Windows

Ugu dambeyntii, ku hagaaji midabada qoraalka daaqada (R: 0, G: 255, B: 0) iyo asalka daaqada (R: 0, G: 0, B: 0):

Iftiimi khadadka amarka ee Windows

Waa inaad ku celcelisaa goobahan laba jeer (hal mar amarka degdegga ah adigoon xuquuq maamul lahayn iyo amarka degdegga ah ee leh xisaabaadka maamulka).

Amarku wuxuu ka caawiyaa helitaanka deg deg midab leh (tusaale, casaan fudud):

prompt $E[91m$P$G$E[92m

$ E waxay u taagan tahay astaamaha ESC (oo bilaabaya taxanaha baxsashada), [91m ee koodhka midabka degdegga ah (kiiskan casaan fudud), $ P ee waddada, $ G dabeecadda ">". $ E [92m ayaa midabka qoraalka soo socda u dhigaya mid cagaar cagaaran.

Iftiimi khadadka amarka ee Windows

Si loo hubiyo in jawaabta ay si joogto ah ugujirto midab kale, abuur feyl feyl ah oo ka kooban% AppData% \ prompt.bat, tusaale ahaan

prompt $E[91m$P$G$E[92m
CLS

iyo HKEY_CURRENT_USER \ SOFTWARE \ MICROSOFT \ Amarka Processor wuxuu abuuraa qiime nooca "REG_EXPAND_SZ" oo wata magaca "AutoRun" iyo qiimaha "% AppData% \ prompt.bat".

Adoo ku dhejinaya CYGWIN (oo leh dhammaan baakadaha) oo aad dejiso dariiqa C: \ cygwin64 \ bin ee isbeddelka jawiga 'PATH', waxaad helaysaa wax yar oo Linux ah:

Iftiimi khadadka amarka ee Windows

Dib u laabo