Home / Ilm / KOMANDAHOI HIDMATII MS DOS

KOMANDAHOI HIDMATII MS DOS

Ivazkunii namudi davatnomai MS DOS. Odatan davatnomai DOS oidi diskdon va katalogi jori informatsiya medihad. Komandai PROMpt imkoniyat medihad, ki namudi davatnomai MS DOS ivaz karda shavad.

SHakli umumii in komanda chunin ast:

PROMpt <matn>

<matn> metavonad alomathoi zerinro dar bar girad:

$p dar davatnoma nomi diskdon va katalogi jori nishon doda meshavad;

$n dar davatnoma tanho nomi diskdoni jori nishon doda meshavad;

$e nishondihii tarikhi ruzi jori;

$t nishondihii vaqti jori;

$v nishondihii versiyai MS DOS;

$d nishondihii alomati «>»;

$l nishondihii alomati «<»;

$b nishondihii alomati «I»;

$$ nishondihii alomati «$».

MISOL:

  1. PROMpt $p$d pas az ijro shudani in komanda dar davatnomai sistema diskdoni jori, katalogi jori va alomati «>» nishon doda meshavad. Masalan, S:\Alfa>
  2. PROMpt $t$v dar davatnomai Dos avval vaqti jori va pas az on versiyai Dos nishon doda meshavad. Masalan, 12:08:58.98 MS-DOS Version 6.22.
  3. PROMpt $p$v$d dar davatnomai sistema diskdon va katalogi jori, versiyai MS DOS va alomati «>» nishon doda meshavand. Masalan, C:\MS-DOS Version 6.22at 06.10.2001.

Ba ekran barovardan va ivazkunii tarikhi ruz. Baroi ba ekran barovardani tarikhi ruz va ivazkunii on komandai Date istifoda burda meshavad. SHakli umumii komandai mazkur chunin ast:

Date

Baroi tagyir dodani tarikhi ruz zarur ast, ki avval raqami ruz (131), bad raqami moh (112) va soni du raqami okhirini sol az klaviatura dokhil karda shuda, tugmai Enter

pakhsh karda shavad.

MISOL:

date

Tekushaya data: Pn, 19.11.2001 Vvedite novuyu datu (ddmmgg): 20-11-01 Ivazkunii vaqt dar kompyuter. Baroi didani vaqt va ivazkunii on komandai Time istifoda burda meshavad.

SHakli umumii in komanda chunin ast:

Time

Pas az ijroi in komanda dar ekran informatsiyai zerin paydo megardad:

time

Tekushee vremya: 9:09:48,03

Vvedite novoe vremya:9:10:50

Dar in jo chasi adadi az 0 to 24 buda, minut va sekund adadhoi az 0 to 59 meboshand. Agar vaqtro tagyir dodan lozim naboshad, tugmai Enter –ro pakhsh kardan kifoya ast.

MISOL:

time 15:35 vaqti jorii kompyuteri hamchun soati 15u 35 daqiqa muqarrar karda shudaast.

Formatkunonii diskhoi magniti. Har yak disketi nav boyad baroi sabti informatsiya tayyor karda shavad. Ravandi tayyor namudani diskethoro formatkunonii disketho menomand.

Formatkunonii disketho bo yorii komandai Format ijro karda meshavad. In komanda ba guruhi komandahoi berunii Ms Dos dokhil shuda, baroi ijroi on boyad dar katalogi Dos utiliti Foqmat mavjud boshad.

SHakli umumii komanda chunin ast:

Format <Nomi diskdon:hparametrho]>

Ba sifati nomi diskdon yake az harfhoi lotinii A (diskdoni yakum) yo V (diskdoni duyum)ro intikhob kardan mumkin ast. Ba sifati parametrhoi komandai Format

alomathoi ___________zerin istifoda burda meshavand:

/S pas az formatkunoni disket ba disketi sistemavi tabdil doda meshavad va az on imkoniyati sistemai MS DOSro ba kor omoda sokhtan paydo megardad;

/4 formatkunonii diskethoi gunjoishashon 360 Kbayt, ki dar diskdonhoi gunjoishashon 1,2 Mbayt guzoshta shudaand.

MISOL:

  1. Format a: disketi dar diskdoni yakum guzoshtashuda, formatironida meshavad;
  2. Foqmat a:/s disketi dar diskdoni yakum guzoshtashuda formatironida meshavad va dar on faylhoi sistemai MS DOS sabt karda meshavand. Dar natija disket sistemavi

megardad;

  1. Format i:/4 disketi gunjoishash 360 Kbayt, ki ba diskdoni duyum guzoshta shudaast, formatironida meshavad;
  2. Format a:/s/4 disketi gunjoishash 360 Kbayt, ki ba diskdoni yakum guzoshta shudaast, formatironida meshavad va on ba diski sistemavi tabdil meyobad.

Tarzi avtomatii ijroi programmaho. Baroi ijro namudani yagon programma, boyad rohi koftukovi faylero nishon dod, ki in programmaro dar bar giriftaast. Baroi oson

namudani kor bo on programmahoe, ki zudzud yo har dafa ijroashon talab karda meshavad, onhoro dar kataloghoi alohida joygir menamoyand va ruykhatashonro dar komandai makhsus nishon medihand. In komanda komandai Path ast va on dar fayli makhsusi Autoexec.iat navishta meshavad.

SHakli umumii in komanda chunin ast:

Path <Roh ba katalog>; <Roh ba katalog>;…

MISOL:

Path A:\; A:\Dos; C:\; C:\Dos; C:\Alfa

Pas az amali gashtani in komanda, programmahoi zaruri az kataloghoi diskhoi dar ruykhat nishondodashuda, ba tavri avtomati kofta yofta shuda, ijro karda meshavand.

Tozakunii ekran. Baroi ekranro purra az informatsiya toza namudan, komandai zerinro istifoda mebarand:

Cls Pas az ijro shudani in komanda (Cls – Cleaq scqeen – to-zakunii ekran) ekrani monitor az informatsiya toza karda meshavad va dar satri yakumi on davatnomai sistema paydo megardad.

Savolho:

  1. Komandai ivazkunii davatnomai MS DOS kadom ast?
  2. Bo yorii kadom komanda tarikhi ruzro ivaz kardan mumkin ast? Vaqti kompyuteriro chi?
  3. Vazifai komandai Foqmat az chi iborat ast?
  4. Ijroi programmahoro chi tavr avtomati kunonidan mumkin ast?
  5. Ekranro chi tavr az informatsiya toza kardan mumkin ast?

Suporish:

  1. Matni mavzuro bodiqqat khoned va komandahoi onro az khud kuned.
  2. Az misolhoi matni mavzu istifoda burda, shakli davatnomai MS DOS-i kompyuteratonro ivaz namoed.
  3. Tarikhi ruz va vaqti kompyuterii qaydkardashudaro ba ekran barored va onhoro tagyir dihed. Bad az sari nav tarikhi ruz va vaqti kompyuterii asliro barqaror namoed.
  4. Bo hamrohii muallim disketi navro dar kompyuter format kunoned.
  5. Az komandai Cls istifoda burda ekranro toza namoed.

Инчунин кобед

afandi

LATIFAHO

TUYONA OYAD… SHakhse ba dustash uzr ovard:j – Bubakhsh, man ba tuyat rafta nametavonam. Vay …