MS DOS - Новый интерпретатор командной строки

Стандартный интерпретатор командной строки MS DOS далек от совершенства, по этому заменим его другим, поддерживающим автодополнение и историю. А за одно маленько улучшим autoexec.bat.


Для начала создадим три каталога: apps - для устанавливаемых программ и утилит, backup - для сохранения резервных копий, и temp - для временных файлов (т.к. изначально каталогом для временных файлов является каталог DOS).

Команда для создания каталогов - MKDIR. Переходим в корень диска C: и создаем по очереди все каталога. Командой DIR выводим содержимое текущего каталога.

С:
mkdir TEMP
mkdir APPS
mkdir BACKUP
dir

Теперь установим новый интерпретатор командной строки, для этого необходимо скачать образ дискеты. Далее необходимо подключить этот образ в виртуальный привод.

Переходим на диск А: и копируем с него необходимый файл.

A:
cd doskey
copy doskey.com c:\apps\doskey.com

Теперь необходимо подправить autoexec.bat.

  • Перенесем в самое начало команду запрета вывода в консоль @echo off.
  • Далее сделаем так, что бы программа кеширования диска SMARTDRV.EXE загружалась в верхнюю область памяти, для этого перед вызовом этой программы добавим команду LOADHIGH.
  • Так же в верхнюю область памяти загрузим наш новый интерпретатор LOADHIGH C:\APPS\DOSKEY.COM -i.
  • В переменную PATH добавим путь к каталогу с программами.
  • Зададим новое значение переменной TEMP.

В результате получим:

@ECHO OFF
LOADHIGH C:\DOS\SMARTDRV.EXE /X
LOADHIGH C:\APPS\DOSKEY.COM -i
PROMPT $p$g
PATH C:\APPS;C:\DOS
SET TEMP=C:\TEMP
MODE CON CODEPAGE PREPARE=((866) C:\DOS\EGA.CPI)
CHCP 866
KEYB RU,,C:\DOS\KEYBOARD.SYS

Теперь для теста вызовем в ручную новый интерпретатор c:\apps\doskey.com -i.

В ответ получаем сообщение, что DOSKEY установлен и курсор меняем форму, становится чуть толще. Теперь можно проверить работу. На пример находясь в корне диска C: начинаем набирать au и далее жмем клавишу TAB должно сработать автодополнение и получится autoexec.bat.

Теперь остается перезагрузиться, что бы проверить, что все что было изменено работает верно :)

Система стартовала, DOSKEY установлен. На этом все.

Продолжение следует...

Comments: 121

GudEffike
  
Citalopram 20 Mg Without Prescription Cialis V Levitra <a href=http://cheapciali.com>cialis no prescription</a> Clobetasol For Sale Mastercard Accepted Fedex Shipping Free Shipping Cialis Lilly Celecoxib 200 Mg Price
ftaletjotx
  
<a href= "http://rabbitinahat.com ">cialis online canada pharmacy</a> cialis and alcohol consumption http://rabbitinahat.com
mtalettixd
  
<a href= "http://gigawatt6.com ">how long before cialis starts working</a> non prescription cialis alternative http://gigawatt6.com
wtaletwggu
  
[url=http://missreplicawatches.com]chemical name for cialis[/url] why doesn t cialis work http://missreplicawatches.com
otaletfdaw
  
<a href= "http://istanbulexpressonline.com ">female natural viagra</a> otc viagra alternative http://istanbulexpressonline.com
gtaletuctv
  
<a href= "http://psychologytweets.com ">online pharmacy cialis</a> can cialis cure ed http://psychologytweets.com
ztaletzlkt
  
<a href= "http://buycialisonlineglka.com ">order cialis online</a> cheap cialis canadian http://buycialisonlineglka.com
ttalettipt
  
<a href= "http://canadian-pharmasale.com ">cheapest generic cialis</a> best online pharmacy for cialis http://canadian-pharmasale.com
ataletsmxj
  
<a href= "http://canadian-pharmabuy.com ">viagra for sale online</a> buy viagra http://canadian-pharmabuy.com
rtaletjxtk
  
<a href= "http://missreplicawatches.com ">buy generic cialis online canada</a> order cialis using paypal http://missreplicawatches.com
ntaletebpk
  
<a href= "http://canadian-pharmasale.com ">order cialis overnight delivery</a> cialis online usa http://canadian-pharmasale.com
etalethrch
  
<a href= "http://viciolatino.com ">viagra 100mg</a> best place to buy viagra http://viciolatino.com
ttaletlozb
  
<a href= "http://missreplicawatches.com ">buy cialis 5mg</a> cialis originale online http://missreplicawatches.com
ctaletflwu
  
<a href= "http://top-monterey-salinas-dentists.com ">where can i get levitra</a> generic levitra usa http://top-monterey-salinas-dentists.com
dtaletlofh
  
<a href= "http://rabbitinahat.com ">cialis canada mail order</a> generic cialis pills http://rabbitinahat.com
otaletueba
  
<a href= "http://buycialisonlineglka.com ">order cialis from canadian pharmacy</a> buy cialis cheap canada http://buycialisonlineglka.com
jtaletzxyf
  
<a href= "http://unishade.com ">generic cialis online usa</a> cialis online canada cheap http://unishade.com
ntaletesct
  
<a href= "http://motechautomotive.com ">order generic cialis</a> cialis 5mg best price http://motechautomotive.com
xtaletuxpw
  
<a href= "http://unishade.com ">best site to order cialis</a> order cialis from canada http://unishade.com
jtaletufnx
  
<a href= "http://buycialisonlineglka.com ">order cialis in usa</a> can i buy cialis over the counter http://buycialisonlineglka.com
etaletpzzs
  
<a href= "http://bullsac.com ">how to take levitra</a> levitra heartburn http://bullsac.com
ptaletnsyc
  
<a href= "http://timsbmw.com ">bayer levitra online</a> levitra is used for http://timsbmw.com
utaletqsqn
  
<a href= "http://bullsac.com ">viagra cialis levitra comparison chart</a> bayer levitra 20mg http://bullsac.com
ctaletevzj
  
<a href= "http://unishade.com ">order generic cialis online canada</a> buy genuine cialis online http://unishade.com
ztalettebh
  
<a href= "http://h-m-j.com ">best place to buy viagra</a> buy viagra canada http://h-m-j.com
wtaletzqok
  
<a href= "http://timsbmw.com ">levitra coupons</a> levitra vs cialis http://timsbmw.com
italetibul
  
<a href= "http://buyviagraonl1ne.us ">cheap uk viagra</a> generic viagra 100mg http://buyviagraonl1ne.us
ktaletsgia
  
<a href= "http://canadian-pharmabuy.com ">generic viagra professional</a> generic viagra 100mg http://canadian-pharmabuy.com
italetckuy
  
<a href= "http://rabbitinahat.com ">best generic cialis</a> buy cialis online cheap http://rabbitinahat.com
ztaletxgfj
  
<a href= "http://vico4me.com ">order viagra with paypal</a> order cheap generic viagra http://vico4me.com
ataletygwz
  
<a href= "http://canadian-pharmasale.com ">generic cialis pills</a> cheap cialis online uk http://canadian-pharmasale.com
qtaletaxrq
  
<a href= "http://valladium.com ">order cialis from canadian pharmacy</a> buy cialis online in usa http://valladium.com
rtaletyzza
  
<a href= "http://canadian-pharmasale.com ">buy cialis 10mg</a> how to order cialis from canada http://canadian-pharmasale.com
ntaletsgsd
  
<a href= "http://timsbmw.com ">levitra effectiveness</a> buy generic levitra online http://timsbmw.com
utaletgpvd
  
<a href= "http://valladium.com ">cialis for sale cheap</a> generic cialis lowest price http://valladium.com
qtaletedbg
  
<a href= "http://waltzweekend.com ">best place to buy generic viagra</a> viagra canada http://waltzweekend.com
staletjddx
  
<a href= "http://buycialisonlineglka.com ">order brand cialis online</a> order cialis with paypal http://buycialisonlineglka.com
ytaletnaax
  
<a href= "http://top-monterey-salinas-dentists.com ">buy levitra online usa</a> cost of levitra vs viagra http://top-monterey-salinas-dentists.com
etaletvqau
  
<a href= "http://usedrestaurantequipmentaz.com ">order internet cialis</a> cialis for sale online http://usedrestaurantequipmentaz.com
italetpecn
  
<a href= "http://buycialisonlineglka.com ">buy cialis uk</a> cialis 20mg price http://buycialisonlineglka.com
ltaletermr
  
<a href= "http://canadian-pharmacyiorder.com ">canadian online pharmacy generic cialis</a> cialis 20mg online http://canadian-pharmacyiorder.com
htaletpaae
  
<a href= "http://timsbmw.com ">best price levitra 20 mg</a> best levitra prices http://timsbmw.com
mtaletckio
  
<a href= "http://canadian-pharmacyisale.com ">cheap generic viagra</a> cheap viagra no prescription http://canadian-pharmacyisale.com
etaletlaya
  
<a href= "http://rabbitinahat.com ">natural viagra pills</a> order brand viagra http://rabbitinahat.com
ataletlldk
  
<a href= "http://canadian-pharmacyisale.com ">order cheap generic viagra</a> generic viagra canada pharmacy http://canadian-pharmacyisale.com
ntaletofxj
  
<a href= "http://canadian-pharmasale.com ">cialis online india</a> cialis for sale cheap http://canadian-pharmasale.com
otaletezhc
  
<a href= "http://canadian-pharmacyisale.com ">order viagra pills</a> discount viagra pills http://canadian-pharmacyisale.com
ftalettoyt
  
<a href= "http://usedrestaurantequipmentaz.com ">buy cheap cialis generic</a> cheap cialis soft tabs http://usedrestaurantequipmentaz.com
ktaletxitk
  
<a href= "http://canadian-pharmaonline.com ">best online pharmacy for viagra</a> internet order viagra http://canadian-pharmaonline.com
ltaletyrxw
  
<a href= "http://buycialisonl1ne.us ">cialis pills sale</a> cialis 20 mg http://buycialisonl1ne.us
ftalethexx
  
<a href= "http://valladium.com ">generic cialis from canada</a> cialis pills online http://valladium.com
ntaletsdxr
  
<a href= "http://buycialisonlineglka.com ">buy cialis overnight delivery</a> cialis cheap online pharmacy http://buycialisonlineglka.com
btaletpcaz
  
<a href= "http://canadian-pharmamrdi.com ">best place to buy cialis</a> buy cialis non prescription http://canadian-pharmamrdi.com
ttaletpxul
  
<a href= "http://canadian-pharmausa.com ">order viagra online</a> real viagra online http://canadian-pharmausa.com
ytaletokco
  
<a href= "http://canadian-pharmamrdi.com ">cialis cheap price</a> generic cialis online http://canadian-pharmamrdi.com
ytaletnrsn
  
<a href= "http://buyviagraonl1ne.us ">order cheap generic viagra</a> generic viagra for sale http://buyviagraonl1ne.us
htaletdxdu
  
<a href= "http://buycialisonlineglka.com ">cialis originale online</a> cialis 20mg http://buycialisonlineglka.com
ttaletiwpv
  
<a href= "http://canadian-pharmakoani.com ">viagra cheap online canada</a> buy female viagra http://canadian-pharmakoani.com
ytalettviu
  
<a href= "http://baymontelreno.com ">cialis pills online</a> cheap cialis online sales http://baymontelreno.com
htaletuiaw
  
<a href= "http://viciolatino.com ">cheapest generic viagra</a> best canadian online pharmacy viagra http://viciolatino.com
utaletdykt
  
<a href= "http://canadian-pharmaorder.com ">buy cialis online france</a> order cialis canada http://canadian-pharmaorder.com
mtalethktv
  
<a href= "http://buycialisonlineglka.com ">cialis order online india</a> generic cialis canada pharmacy http://buycialisonlineglka.com
otaletrzgv
  
<a href= "http://canadian-pharmamrdi.com ">cialis 5mg price</a> buy cialis online us pharmacy http://canadian-pharmamrdi.com
ytaletvmix
  
<a href= "http://canadian-pharmacyisale.com ">cheap viagra tablets</a> order viagra online usa http://canadian-pharmacyisale.com
staletpqxk
  
<a href= "http://canadian-pharmacyibuy.com ">buy cialis 100mg online</a> cialis canada generic http://canadian-pharmacyibuy.com
rtaletcono
  
<a href= "http://viciolatino.com ">generic viagra online pharmacy</a> purchase discount viagra online http://viciolatino.com
btaletvisq
  
<a href= "http://canadian-pharmabuy.com ">buy viagra online france</a> cheap viagra sale http://canadian-pharmabuy.com
utaletrkqt
  
<a href= "http://waltzweekend.com ">purchase viagra online without script</a> women viagra http://waltzweekend.com
ctaletehao
  
<a href= "http://canadian-pharmapills.com ">buy viagra 50mg</a> viagra cost per pill pfizer http://canadian-pharmapills.com
rtaletltrz
  
<a href= "http://rabbitinahat.com ">cheap cialis 40 mg online</a> generic cialis online canada http://rabbitinahat.com
otaletfqqc
  
<a href= "http://canadian-pharmasale.com ">order cialis super activecialis 5mg</a> cialis tadalafil http://canadian-pharmasale.com
staletgtwo
  
<a href= "http://vico4me.com ">cheap pill viagra</a> cheap viagra soft 50mg http://vico4me.com
italetjfcx
  
<a href= "http://vico4me.com ">order viagra 100mg</a> order viagra online overnight http://vico4me.com
italetrpzt
  
<a href= "http://canadian-pharmacyibuy.com ">cheap cialis tablet</a> order cialis online in canada http://canadian-pharmacyibuy.com
otaletrxwo
  
<a href= "http://gigawatt6.com ">cialis 20mg price</a> buy cialis with prescription http://gigawatt6.com
ltaletoqiu
  
<a href= "http://valladium.com ">cialis generic best price</a> order cialis http://valladium.com
ptaletxpxm
  
<a href= "http://canadian-pharmacyiorder.com ">get cialis online</a> buy real cialis online http://canadian-pharmacyiorder.com
btaletxwjb
  
<a href= "http://waltzweekend.com ">women viagra</a> viagra coupon http://waltzweekend.com
ntaletclen
  
<a href= "http://missreplicawatches.com ">cialis price walmart</a> best place buy cialis online http://missreplicawatches.com
staletxodq
  
<a href= "http://zbloggers.com ">propecia 1mg</a> buy propecia online http://zbloggers.com
ftaletxduj
  
<a href= "http://valladium.com ">buy generic cialis</a> cialis pills sale http://valladium.com
ptaletzyhy
  
<a href= "http://baymontelreno.com ">order cialis in canada</a> cheap cialis 10mg http://baymontelreno.com
ctaletisyj
  
<a href= "http://valladium.com ">cheap generic cialis</a> buy cialis http://valladium.com
bthDrids
  
personal loans people bad credit <a href= "http://wwwonlinepaydayloans.com/ ">1500 dollar payday loans</a> bad credit lender no payday loan <a href=http://wwwonlinepaydayloans.com/>quick easy personal loans</a>
badadodo
  
bad credit credit card <a href= "http://nocreditcheck-militaryloans.com/ ">military computer loans</a> quick and easy payday loan <a href= "http://nocreditcheck-militaryloans.com/ ">bad credit payday loans</a>
bsfshusy
  
average interest rate on a payday loan <a href= "http://cash-advances-today.com/ ">cash advances</a> adverse credit payday loans <a href=http://cash-advances-today.com/>quick cash advance</a>
bsfTeelo
  
viagra brands <a href= "https://www.purseinstock.com/ ">generic viagra online reviews</a> buy viagra on line <a href=https://www.purseinstock.com/>is there a generic viagra</a>
bsfanaet
  
auto loans bad credit <a href= "http://cashmojoloan.com/ ">cash advance loans</a> small payday loans <a href=http://cashmojoloan.com/>cash advance credit card</a>
nsfasync
  
loanmax title loan <a href= "http://instantpaydayloanscentral.com/ ">loans online</a> cash advances online fast payday loans <a href=http://instantpaydayloanscentral.com/>payday loan online</a>
snfDrids
  
online loans no credit <a href= "http://perfectbadcreditloans.com/ ">personal loans</a> a fast payday loan <a href=http://perfectbadcreditloans.com/>bad credit loans</a>
btfadodo
  
tadalafil 20mg <a href= "http://genericcialls.com/ ">buy generic cialis</a> cialis canada <a href= "http://genericcialls.com/ ">generic cialis online</a>
vskshusy
  
viagra <a href= "http://movietrailershd.org/ ">generic for viagra</a> order viagra online <a href=http://movietrailershd.org/>generic viagra usa</a>
sfranaet
  
bad credit loans <a href= "http://usconstitutionof1777.com/ ">loan online</a> a payday loan company <a href=http://usconstitutionof1777.com/> loan online</a>
btzasync
  
buy viagra <a href= "http://usa77www.com/ ">viagra 200mg</a> viagra buy <a href=http://usa77www.com/>viagra 100mg</a>
pljDrids
  
small payday loans online <a href= "http://willpaydayloans.com/ ">100 online payday loans</a> loan store <a href=http://willpaydayloans.com/> get a payday loan</a>
ebgshusy
  
viagra pills <a href= "http://mo-basta.org/ ">generic viagra buy</a> female viagra pills <a href=http://mo-basta.org/>buy viagra online</a>
wbfanaet
  
tadalafil reviews <a href= "http://www.ciallisonline.com/ ">cheap cialis online</a> buy tadalafil 20mg price <a href=http://www.ciallisonline.com/>п»їcialis online</a>
bzhasync
  
buy viagra pills <a href= "https://susamsokagim.com/ ">viagra generic</a> viagra soft tablets <a href=https://susamsokagim.com/>generic viagra</a>
nadadodo
  
viagra stories <a href= "http://viagraoahvfn.com/ ">order viagra online</a> viagra professional <a href= "http://viagraoahvfn.com/ ">buy generic viagra</a>
nsfDrids
  
buy viagra <a href= "http://www.bitcapblog.com/ ">generic viagra online pharmacy</a> natural viagra substitutes <a href=http://www.bitcapblog.com/>cheap viagra</a>
bsfDrids
  
canadian pharmacy viagra <a href= "https://canadianpharmacyfda.com/ ">generic viagra</a> mail order viagra <a href=https://canadianpharmacyfda.com/>viagra generic</a>
nfgshusy
  
side effects of viagra <a href= "https://authenticknicksstore.com/ ">cialis online</a> alternative to viagra <a href=https://authenticknicksstore.com/>cialis online</a>
bdfshusy
  
buy viagra <a href= "http://usaerectionrx.com/ ">viagra generic</a> viagra generic brand <a href=http://usaerectionrx.com/>viagra generic online</a>
nsfanaet
  
viagra sales <a href= "https://canadianpharmacyfda.com/ ">viagra generic</a> viagra substitute <a href=https://canadianpharmacyfda.com/>viagra online</a>
snfanaet
  
viagra <a href= "https://www.niqabsquad.com/ ">generic viagra online</a> generic viagra rx <a href=https://www.niqabsquad.com/>generic viagra online</a>
bryswify
  
tadalafil 20 mg <a href= "http://cialisckajrhd.com/ ">buy cialis online</a> purchase cialis <a href=http://cialisckajrhd.com/>Generic Tadalafil</a>
bstDrids
  
viagra professional <a href= "http://erectionakebd.com/ ">viagra online</a> viagra alternative <a href=http://erectionakebd.com/>generic viagra</a>
vszDrids
  
viagra natural <a href= "http://viagrajr.com/ ">generic viagra online</a> viagra sample <a href=http://viagrajr.com/>generic viagra online</a>
nfhIntak
  
cialis 20mg <a href= "https://forumdemulheres.com/ ">cialis buy</a> cialis no prescription <a href= "https://forumdemulheres.com/ ">online cialis</a>
bsyNeuch
  
does viagra work <a href= "http://viagrafa.com/ ">buy viagra online</a> generic viagra reviews <a href=http://viagrafa.com/>online viagra</a>
bfhshusy
  
buy female viagra <a href= "http://viagraeq.com/ ">viagra cheap</a> how viagra works <a href=http://viagraeq.com/>buy cheap viagra</a>
vdfadodo
  
over the counter viagra <a href= "http://emtpartsstore.com/ ">viagra online</a> order viagra online <a href= "http://emtpartsstore.com/ ">buy viagra online</a>
bsfshusy
  
cialis online <a href= "http://cialisfw.com/ ">generic cialis</a> tadalafil citrate <a href=http://cialisfw.com/>cialis online</a>
nfhDrids
  
order cialis <a href= "http://cialisjesh.com/ ">cialis online</a> cialis 5mg <a href=http://cialisjesh.com/>buy cialis online cheap</a>
nwtshusy
  
order cialis online <a href= "http://cialisgessa.com/ ">buy cialis</a> cialis 5mg [url=http://cialisgessa.com/]online cialis[/url]
bafshusy
  
cialis online no prescription <a href= "http://cialisheobg.com/ ">generic cialis</a> cialis reviews <a href=http://cialisheobg.com/>generic cialis</a>
vsfNeuch
  
try viagra for free <a href= "http://hpviagrajoagin.com/ ">viagra generic</a> 100mg viagra <a href=http://hpviagrajoagin.com/>Viagra prescription</a>
ikjIntak
  
canadian pharmacy viagra <a href= "http://saresltd.com/ ">viagra online</a> generic viagra sildenafil <a href= "http://saresltd.com/ ">online viagra</a>
sbhadodo
  
real viagra <a href= "http://www.viagenericahecv.com/ ">order viagra online</a> generic viagra online pharmacy <a href= "http://www.viagenericahecv.com/ ">buy viagra online</a>
fujDrids
  
cialis 20mg <a href= "http://joicialisosn.com/ ">online cialis generic</a> tadalafil dosage <a href=http://joicialisosn.com/>buy cialis online cheap</a>
xhjanaet
  
cialis cost <a href= "http://cialishwzbm.com/ ">п»їcialis online</a> tadalafil liquid <a href=http://cialishwzbm.com/>п»їcialis online</a>