Ⅰ 璋佺煡阆撴湁鍏充簬DOS镄
DOS甯哥敤锻戒护鍜屾牸寮
涓銆丏IR 锻戒护镄勬牸寮忥细
dir [D:][PATH][NAME][[/A][:attrib]][/o:[sorted][/s][/b][/l][/c[h]
(1)dir /a:attrib 缂虹渷鍖呭惈镓链夋枃浠(绯荤粺鏂囦欢.闅愬惈鏂囦欢)
attrib[:][h/-h]鍙鏄剧ず闅愬惈鏂囦欢鎴栭潪闅愬惈鏂囦欢.
[r/-r]鍙鏄剧ず鍙璇绘枃浠舵垨闱炲彧璇绘枃浠
[s/-s]鍙鏄剧ず绯荤粺鏂囦欢鎴栭潪绯荤粺鏂囦欢
[a/-a]鍙鏄剧ず瑕佸綊妗f枃浠舵垨闱炲綊妗f枃浠
(2)/o[:]sorted:缂虹渷瀹屽叏鎸夊瓧姣嶉‘搴,瀛愮洰褰曟樉绀哄湪鏂囦欢涔嫔墠
/o[n/-n]:鎸夊瓧姣嶉‘搴忔垨鎸夋枃浠跺悕椤哄簭/鍙嶅悜鏄剧ず
[e/-e]:鎸夋墿灞曞悕瀛楁瘝椤哄簭/鍙嶅悜鏄剧ず
[d/-d]:鎸夋椂闂撮‘搴/鍙嶅悜鏄剧ず
[s/-s]:鎸夊ぇ灏忎粠澶у埌灏忔垨/鍙嶅悜鏄剧ず
[g/-g]:鎸夊瓙鐩褰曞厛浜庢枃浠舵垨鏂囦欢鍏堜簬瀛愮洰褰
(3)/s 鍙傛暟:瀵瑰綋鍓岖洰褰曞强鍏跺瓙鐩褰曚腑镓链夋枃浠惰繘琛屽垪琛
鍒楀悕:dir /s/a/o:n c:\\>PRN
灏哻鐩树笂镄勬墍链夊瓙鐩褰曞拰鏂囦欢鎸夐毝灞炲叧绯诲苟镙规嵁瀛愮洰褰曞拰鏂囦欢瀛楁瘝椤哄簭镓揿嵃杈揿嚭
(4)/B 鍙傛暟:灏嗗彧鏄剧ず鏂囦欢钖崭笌镓╁𪾢钖
(5)/L 鍙傛暟:灏嗗叏閮ㄧ敤灏忓啓瀛楁瘝瀵规枃浠舵垨瀛愮洰褰曡繘琛屽垪琛
璁缁:
dir /a 鍒楀綋鍓岖洰褰曟墍链夋枃浠(钖闅愬惈鍙婄郴缁熸枃浠)
dir /ah 鍒楅殣钖鏂囦欢(鍖呭惈瀛愮洰褰(闅愬惈镄) dir /a-h
dir /as 鍒楃郴缁熸枃浠 dir /a-s
dir /ad 鍒楀瓙鐩褰 dir /a-d
dir /o 鎸夊瓧姣嶉‘搴
dir /B 鍙鏄剧ず鏂囦欢钖崭笌镓╁𪾢钖
浜屻乤ttrib [+r|-r] [+a|-a] [+s|-s] [+h|-h] [d: ] [name] [/s]
缂虹渷 attrib name 鏄剧ず鏂囦欢镄(鏂囦欢)灞炴
attrib io.sys (鎴栧瓙鐩褰)
shr c:\\ io.sys 鎸囧畾涓虹郴缁(s) 闅愬惈(h) 鍙璇(r)鏂囦欢
涔熷彲浠attrib *.sys 鏄剧ず镓╁𪾢钖崭负sys镄勬枃浠跺睘镐
鍙傛暟 [+r|-r] 灏嗘枃浠跺睘镐ц剧疆鎴栬В闄 鍙璇诲睘镐
[+a|-a] 灏嗘枃浠跺睘镐ц剧疆鎴栬В闄 褰掓。灞炴
[+h|-h] 灏嗘枃浠跺睘镐ц剧疆鎴栬В闄 闅愬惈灞炴 (灏ゅ叾瀵瑰瓙鐩褰曚篃璧蜂綔鐢)
/s 鍙傛暟 灏嗗綋鍓嶅强褰揿墠瀛愮洰褰曚笅镄勬墍链夋枃浠跺潎璧蜂綔鐢
鍙浠ョ敤𨱒ユ煡镓炬枃浠
渚嫔瓙:
attrib news86 鍒枭ews86镄勬枃妗e睘镐
attrib +r report.txt 璁剧疆涓哄彧璇 attrib -s -h record.txt
attrib +a a:*.*
attrib -a a:*.bak
x a: b: /a 灏咥鐩树笂镄勬墍链夋爣蹇椾负褰掓。灞炴х殑鏂囦欢𨰾峰埌B鐩
x a: b: /m 灏咥鐩树笂镄勬墍链夋枃浠舵嫹鍒痫鐩桦悗骞剁Щ铡诲綊妗e睘镐
涓夈乧d 浠嬬粛: cd...杩斿洖涓娄簩绾х洰褰 .浠h〃褰揿墠鐩褰 .浠h〃鐖剁洰褰
cd ..\\..杩斿洖鍒颁笂绾х洰褰旷殑鐖剁洰褰(绁栫洰褰)
cd A:\\ 灏咥鐩樼殑褰揿墠鐩褰曟敼涓烘牴鐩褰
cd A:\\xx 灏咥鐩樼殑褰揿墠鐩褰曟敼涓哄瓙鐩褰晋x涓
cd ..\\98 鍏堣繑锲炵埗鐩褰,鍐嶈繘鍏ョ埗鐩褰曚笅镄98瀛愮洰褰
cd ..杩斿洖鍒扮埗鐩褰
cd\\98 杩涘叆镙圭洰褰曚笅镄98瀛愮洰褰
锲涖乧opy [/y][/-y][/v][ /B]
/y 涓嶅姞鎻愮ず,瀵规墍链夋枃浠跺姞浠ヨ嗙洊
/-y 锷犱互鎻愮ず,瀵规墍链夋枃浠 (yes鎴杗o鎻愰梾 )
/v 𨰾疯礉浠ュ悗锷犱互镙¢獙
/B 鎸変簩杩涘埗杩涜屾樉绀
w1.wps con/b 鍙浠ュ皢wps鏂囦欢鍦ㄥ睆骞曚笂鏄剧ず,钥屼笉蹇呰繘鍏wps鐘舵
..\\98 灏嗙埗鐩褰曚笅镄98瀛愮洰褰曚笅镄勬墍链夋枃浠跺叏𨰾峰埌褰揿墠瀛愮洰褰
.\\97 褰揿綋鍓岖洰褰曚笅镄97瀛愮洰褰曚笅鏂囦欢鍏ㄩ儴𨰾峰埌褰揿墠鐩褰
. c:\\ 灏嗗綋鍓岖洰褰曚笅镄勬墍链夋枃浠舵嫹鍒瘫鐩樻牴鐩褰
. 镒忓懗镌 *.* 鏂囦欢
nul a.abc 灏哸.abc 鏂囦欢娓呯┖(鏂囦欢闀垮害鏀逛负0)
鏂囦欢钖+con 钖戞枃链鏂囦欢涓杩藉姞锻戒护鎴栧唴瀹
con 鏂囦欢钖 鍒涘缓鏂囨湰鏂囦欢(F6瀛樼洏阃鍑)
con prn 妫娴嬫墦鍗版満镄勫紑鍏
浜斻亁锻戒护
x [source] [d:date] [/p] [/s] [/e] [/v] [/y]
x [d:date] x a:b:\\ /d:08/18/98/s/v 𨰾疯礉98.08.18骞村悗镄勬枃浠
x [/p] 鎻愮ず鍒涘缓瀛愮洰褰
x [/s] 杩炲甫瀛愮洰褰曚竴璧锋嫹璐. 娉ㄦ剰:鑻ョ洰镙囩洏涓娄笉瀛桦湪姝ゅ瓙鐩褰,钥屽湪鐩镙
鐩樼殑缁撴潫绗﹀张涓崭互\\涓虹粨𨱒,鍒椤皢鎻愮ず:
does destination specify a file name or directory name on the target
[f=file,d=directory]?
鍦ㄧ洰镙囩洏涓婂垱寤烘枃浠祢鎸変笅]杩樻槸鍒涘缓瀛愮洰褰昜鎸変笅d] ?搴旈夋嫨d阌
x[/v] 甯﹁缉楠
*:(1) x 涓嶆嫹璐濈郴缁熷拰闅愬惈鏂囦欢,搴斿厛浜堜互淇鏀瑰睘镐у啀𨰾疯礉
x [/y] 瑕嗙洊镞舵槸钖︽湁鎻愮ず, /y 涓嶅甫鎻愮ず
鑻ョ渷鐣ョ洰镙囩洏鎴栧瓙鐩褰曞悕,鍒欐嫹璐濆埌褰揿墠鐩褰曚笅
鍏銆 del /p
锷/p 鍙浠ュ湪鍒犻櫎鍓嶆槸钖︽彁绀
濡俤el钖庡姞瀛愮洰褰曞悕,鍒椤皢瀛愮洰褰曚笅镓链夋枃浠(闅愬惈.绯荤粺.鍙璇绘枃浠堕櫎澶)鍏ㄥ垹闄,
锷/p鍒椤彲浠ョ‘璁.
涓冦乽ndelete [name] /au
涓嶅姞鎻愮ず鍦板皢镓链夋弧瓒虫浔浠剁殑鏂囦欢鎭㈠(鑳藉熸仮澶岖殑),骞跺皢棣栧瓧姣岖疆鎴#,鑻ュ凡
瀛桦湪,鍒欐寜# % & 0 1 2-9 a-z椤哄簭锷犱笂.
濡:undelete *.dbf/au 灏嗘墿灞曞悕涓篸bf镄勬枃浠跺叏鎭㈠,骞朵互#寮澶,浣滀负鏂囦欢
钖, /list 浠呭垪鍑哄彲鎭㈠岖殑鏂囦欢,钥屼笉鎭㈠
undelete /load 灏唘ndelete瑁呭叆鍐呭瓨
/unload 灏唘ndelete鍗稿嚭鍐呭瓨
/s[drive]瀵规寚瀹氶┍锷ㄥ櫒杩涜岀洃娴嬬$悊
undelete/sc
灏 undelete椹荤暀鍐呭瓨,?骞跺垱寤轰竴涓闅愬惈镄剆entry 瀛愮洰褰曞筩鐩桦垹闄ょ殑鏂囦欢杩涜
绠$悊 undelete/ds 鎭㈠
鐩稿簲鎭㈠嶅懡浠ゅ彲浠ョ敤undelete鍗冲彲瀹屾暣鎭㈠嶅嚭鏂囦欢钖(闱炲父瀹屾暣)
链甯哥敤undelete *.*
deltree /y [drive:path]
deltree 鍒犻櫎瀛愮洰褰曞强鏂囦欢,灏界℃湁浜涙枃浠舵槸绯荤粺鏂囦欢鎴栭殣钖鏂囦欢
瀹冨彲浠ュ甫链夐氶厤绗,甯︽湁阃氶厤绗︽椂,瀹冨皢鍒犻櫎绗﹀悎𨱒′欢镄勬枃浠跺强瀛愮洰褰
濡:?undelete *.dbf/au 灏嗘墿灞曞悕涓篸bf镄勬枃浠跺叏鎭㈠,骞朵互#寮澶翠綔涓烘枃浠
钖.
/list 浠呭垪鍑哄彲鎭㈠岖殑鏂囦欢,钥屼笉浣沧仮澶嶆搷浣.
undelete/load 灏唘ndelete 瑁呭叆鍐呭瓨.
/unload灏唘ndelete 鍗稿嚭鍐呭瓨.
/s[drive] 瀵规寚瀹氱殑椹卞姩鍣ㄨ繘琛岀洃瑙嗙$悊.
undelete/sc 灏唘ndelete 椹荤暀鍐呭瓨,骞跺垱寤轰竴涓闅愬惈镄剆entry瀛愮洰褰曞笴鐩桦垹闄
镄勬枃浠惰繘琛岀$悊.鐩稿簲鎭㈠嶅懡浠ゅ彲浠ョ敤undelete/ds 鍗冲彲瀹屾暣鎭㈠嶅嚭鏂囦欢钖(寰埚畬锽).
链甯哥敤镄勬槸undelete *.*
鍏銆乨eltree /y [drive:path]
deltree 鍒犻櫎瀛愮洰褰曞强鏂囦欢,灏界℃湁浜涙枃浠舵槸绯荤粺鎴栭殣钖镄.
瀹冨彲浠ュ甫链夐氶厤绗,杩欐椂瀹冨皢鍒犻櫎绗﹀悎𨱒′欢镄勬枃浠舵垨瀛愮洰褰.
濡:瀛桦湪L1鏂囦欢,L2瀛愮洰褰,L3鏂囦欢,L4瀛愮洰褰
deltree L*.* 灏嗗垹闄や互涓婃墍链夌殑鏂囦欢鍜屽瓙鐩褰,浣嗗湪鍒犻櫎鍓嶅姞浠ョ‘璁,鑻ヤ笉鍒犻櫎,
鍙浠ヨ緭鍏N.
/y 鍙傛暟鏄鍦ㄥ垹闄ゆ椂涓嶅姞浠ョ‘璁ゅ氨杩涜屾搷浣灭殑.
瀹冨垹闄ょ殑鏂囦欢鍙浠ョ敤undelete鎭㈠,?浣嗕笉鑳芥仮澶嶅瓙鐩褰曞强鍏朵笅镄勬枃浠,鍙浠ョ敤鐗
娈婂伐鍏.濡侼ORTON 8.0 绛.
鑻ユ彁鍓崭娇鐢ㄤ简undelete/s,?鍒椤彲浠ュ湪sentry瀛愮洰褰曚笅镓惧埌瀹屾暣镄勬枃浠,浣嗗悕宸茬粡
鏀瑰彉浜.
涔濄乨os=high[|low[umb|noumb]]
dos=high,umb 鍒檇os灏呜嚜韬瑁呭叆楂樼鍐呭瓨(high)骞惰兘绠$悊涓娄綅鍐呭瓨(umb).
noumb 鍒欎笉绠$悊涓娄綅鍐呭瓨.
鍦ㄥ啓鍏dos=high鍙妘mb 鍓嶅簲瑁呭叆device=himem.sys
涓轰简灏嗙▼搴忔垨椹卞姩绋嫔簭瑁呭叆涓娄綅鍐呭瓨,蹇呴’浣跨敤dos=umb,鍙鐪佸嚭澶ч儴鍒嗗父瑙勫唴瀛.
鍙浠ュ湪config.sys镄勪换浣曚綅缃鍐欎笂dos=high,umb
鑻ユ樉绀篽ma not avoiable 鎴 load down low 鍒栾〃鏄庝笉鑳戒娇鐢ㄩ珮绔鍐呭瓨.
鍗併乨oskey 璁板綍浠ュ墠鏁茶繃镄刣os锻戒护,鍙浠ョ敤F7𨱒ユ樉绀,鐢ㄢ啈鈫撴潵阃夋嫨,鐢‵9𨱒ヨ緭鍏
阃夋嫨镄勫懡浠ゅ彿.
doskey/restall 閲嶆柊瑁呭叆涓娆,浠ュ墠镄勫懡浠よ屾挙娑.
doskey/history 鏄剧ず鍐呭瓨涓镓链夌殑锻戒护,鍙浠>鏄剧ず鍒板叾瀹冩枃浠朵腑,缂╁啓/H.
doskey dir=cls 鍒椤嚮鍏dir绛夊悓浜巆ls涓镙.
doskey/macros 鍙鏄剧ず镓链夌殑瀹忓畾涔,鍙浣跨敤>閲嶅畾涔夊埌鏂囦欢涓,鍙缂╁啓/M.
doskey dir= 鍙鎾ゆ秷瀵筪ir 镄勫畯瀹氢箟.
doskey p=dir$tdir*.exe/p$tdir c:\\t$tdir c:\\t$*
$t涓哄懡浠ょ殑鍖哄垎绗,钥$*涓哄懡浠ょ殑缁撴潫绗
doskey/insert(overstrike)?鍦ㄩ吨鏂拌緭鍏ュ懡浠ゆ椂,瀵规棫锻戒护镄勪慨鏀规槸鎻掑叆杩樻槸瑕
鐩栫姸镐(榛樿).
鍗佷竴銆乪mm386.exe
鎻愪緵瀵规墿灞曞唴瀛樼殑绠$悊,浣垮簲鐢ㄧ▼搴忚薄浣跨敤甯歌勫唴瀛树竴镙疯兘澶熶娇鐢ㄥ畠.
甯歌佺殑鐢ㄦ硶鏄 鍦╟onfig.sys 涓
device=c:\\dos\\himem.sys
device=c:\\dos\\emm386.exe ram
d=64 灏咲MA 鍐呭瓨鏁伴噺璁剧疆涓64K
noems 鎻愪緵瀵逛笂浣嶅唴瀛樼殑璁块梾,浣嗕笉鎻愪緵瀵规墿灞曞唴瀛樼殑璁块梾.
搴旀敞镒忕殑鏄鍦╳indows涓链濂戒笉瑕佺敤瀹,锲犱负windows链韬链夊规墿灞曞唴瀛樿繘琛岀$悊
镄勭▼搴.搴旈噰鐢╳indows涓镄勭$悊鍣.
鍗佷簩銆乫c 锻戒护 fc/b dt.dat dt2.dat>b (浣滀簩杩涘埗浠g爜姣旇缉)
姣旇缉涓や釜鏂囦欢,涓鑸鐢ㄤ綔瀛桦彇杩涘害,淇鏀规父鎴忓瓨鍌ㄦ枃浠剁敤.
瀹为檯浠g爜浣岖疆搴斿姞涓0100 濡:0000 05E4:00 67
瀹为檯鐢╠ebug -e 淇鏀规椂搴斿姞涓0100 鍗 0000 06E4:00 67
钖庨溃锷犱笂閲嶅畾钖戞枃浠>P 鍙浠ュ皢姣旇缉缁撴灉杈揿嚭鍒皃鏂囦欢涓.
鍗佷笁銆乫ormat /q /u /s /n:sectors /f:size /c
/q鍙傛暟:蹇阃熸牸寮忓寲,浠呮壂鎻忔枃浠跺垎閰嶈〃鍜屾牴鐩褰曞尯,浠呭规牸寮忓寲杩囩殑纾佺洏链夋晥.
浣跨敤镞跺簲纭淇濇牸寮忓寲杩囧悗娌℃湁澧炲姞鏂扮殑鍧忛亾.
/u鍙傛暟:镞犳浔浠舵牸寮忓寲,骞朵笖涓崭缭瀛桦师𨱒ョ洏涓婄殑淇℃伅,鍙浠ラ槻姝unformat.
/s鍙傛暟:镙煎纺鍖栦负绯荤粺鐩,涔熷彲浠ヤ娇鐢╯ys锻戒护.
/f:size size 鍙浠ヤ负160 180 320 360 720 1200 1440 2800
/n:sector n鍙浠ヤ负1 镙煎纺涓哄崟闱㈢洏,瀹归噺涓160k 180k
鍙浠ヤ负4 鍙浠ュ湪5瀵搁珮瀵嗛┍锷ㄥ櫒涓婃牸寮忓寲360k纾佺洏
鍙浠ヤ负8 鍙浠ュ湪5瀵搁珮瀵嗛┍锷ㄥ櫒涓婅繘琛8涓镓囧尯镄勬牸寮忓寲.
/c 閲嶆柊娴嬭瘯鍧忔墖鍖,缂虹渷镞跺傛灉涓涓镓囧尯镙囱颁负鍧,浠ュ悗镙煎纺镞跺氨涓嶅湪浠庢柊娴
璇,浠呬綔镙囱,浣跨敤/C镞跺彲浠ヤ粠鏂版祴璇.
鍗佸洓銆乽nformat 锻戒护
瀵圭敤format 镙煎纺杩,涓旀湭鐢/u鍙傛暟镄勫懡浠よ捣浣灭敤,鐢ㄥ畠鍙浠ユ潵閲嶆柊淇澶嶅凡缁忔崯
鍧忕殑纭鐩桦垎鍖鸿〃,浣嗗圭绣缁灭洏涓嶈捣浣灭敤.
unformat drive:[/l][/test][/p]
/l 鏄剧ず姣忎竴涓琚玼nformat鍙戠幇镄勬枃浠跺拰瀛愮洰褰,濡傛灉娌℃湁杩欎釜寮鍏,鍙鏄剧ず闾d簺
镰寸庣殑鏂囦欢鍜屽瓙鐩褰,鍙浠ョ敤ctrl+s 𨱌傚仠,鎸変换镒忛敭缁х画.
/test 浠呬綔涓涓娴嬭瘯,涓崭綔瀹为檯镄勪慨澶嶅伐浣,浣沧ā𨰾熻繃绋.
/p 涓杈规祴璇曚竴杈规墦鍗.
娉:杩欑嶆柟娉曚笉鑳戒缭璇佷慨澶嶆墍链夌殑鏂囦欢,灏ゅ叾鏄镙煎纺鍖栧悗鍙堟坊锷犺繃鏁版嵁镄勭佺洏.
鎭㈠嶅悗镄勬枃浠朵緷娆″瓨鏀惧湪subdir1....2....3绛夊瓙鐩褰曚腑.
鍗佷簲銆乮nterlnk 璇娉 interlnk g=e ,瀹冨彲浠ラ氲繃涓插彛鎴栧苟鍙e湪涓ゆ満闂磋繘琛岄氲.
灏嗘湇锷″櫒绔涓婄殑e椹卞姩鍣ㄦ椠灏勪负瀹㈡埛绔镄刧椹卞姩鍣,浠ュ悗瀵瑰㈡埛绔钥岃█,镓链夊筭镄
镎崭綔閮芥剰锻崇潃瀵规湇锷″櫒镄勮块梾,鍙栨秷鏄犲皠镄勫姙娉曚负interlnk g=
鍗旷嫭杈揿叆interlnk 鍒欐樉绀烘墍链夌殑鏄犲皠𨱍呭喌.
娉ㄦ剰:interlnk 蹇呴’鍦ㄨ呭叆interlnk.exe 璁惧囬┍锷ㄧ▼搴忔墠鍙浠ヤ娇鐢.
镓鐢ㄧ殑椹卞姩鍣ㄧ﹀彿涓巆onfig.?sys涓璴astdrv.exe璁剧疆镄勬暟鐩链夊叧.鍙浠ヤ綔涓涓涓
绔涓25阍,鍙︿竴绔涓9阍堢殑涓茶岀嚎瀹炵幇,鍏蜂綋鎺ョ嚎鏂瑰纺濡备笅:
5 - 7 2 - 15
3 - 2 3 - 13
7 - 4 4 - 12
6 - 6 5 - 10
3 - 3 6 - 11
8 - 5 15 - 2
4 - 20 13 - 3
9阍 25阍 12 - 4
10 - 5
11 - 6
25 - 25
25阍 25阍
鍗佸叚銆乮nterlnk.exe 涓巌ntersvr.exe
interlnk.exe 閲嶆柊瀹氩悜瀵逛簬瀹㈡埛椹卞姩鍣ㄦ垨镓揿嵃鎺ュ彛镄勮锋眰鍒板彟澶栫殑链嶅姟鍣ㄩ┍锷
鍣ㄦ垨镓揿嵃链.
璇娉:config.sys 涓锷犲叆:
device=c:\\dos\\interlnk.exe [drive:n][/noprinter][com][lpt]
鍗佷竷銆乵emmaker[/b][/batch][session][/swap:drive]
浣跨敤memmaker鑳藉熶紭鍖栧唴瀛橀厤缃,?骞跺皢閰岖疆鍐椤叆autoexec.bat鍜宑onfig.sys涓.
鍦ㄨ繖涓杩囩▼涓,闇瑕侀吨鏂板惎锷ㄥ嚑娆℃満鍣.
鍗佸叓銆乵emitem memcolor memdefault submenu 凿滃崟阃夐”include
autoexec.bat 涓濡备笅: config.sys涓濡备笅:
path c:\\dos;c:\\ucdos [menu]
doskey menucolor=15,1(鍓嶆櫙镩15,鑳屾櫙镩1)
\\mouse\\mouse menuitem=base_config,this is a base
goto %config% ->阃夋嫨椤 menuitem=cced_config,this is a cced
阃夐” 鎻愮ず
:base_config menudefault=base_config,5
goto exit ->璺冲嚭 缂虹渷涓篵ase_config,寤惰繜镞堕棿5绉
:cced_config [common]
c:\\dos\\smartdrv.exe /l device=c:\\dos\\himem.sys
goto exit 钖勯”閮藉寘钖镄勫叡钖岄儴鍒
:exit ->缁撴潫 [base_config]
device=c:\\dos\\emm386.exe ram
dos=high,umb
[cced_config]
device=c:\\dos\\smartdrv.exe/double_buffer
include=base_config 鍖呭惈base_config璁剧疆
鍙浠ユ牴鎹璁$畻链虹殑鍦ㄤ笉钖屾儏鍐典笅镄勯厤缃瑕佹眰𨱒ラ夋嫨.
鍗佷节銆乵scdex.exe 鎻愪緵瀵瑰厜椹辫繘琛岃诲啓镄勭▼搴
mscdex/d:drive [/D:drive][/e][/k][/s][/l:letter]
鍏稿瀷:config.sys 涓璬evice=c:\\cdrom\\cdrom.sys /d:mscd000
autoexec.bat涓 c:\\dos\\mscdex /d:mscd000 /l:g
閰岖疆浜嗕竴涓鍏夐┍,绗﹀彿涓篻
鍙傛暟/d:drive1涓哄厜椹辫韩浠藉彿,椤讳笌config.sys涓镄勭﹀彿涓镊,鍙链夊氢釜
/d:mscd000 /d:mscd001
/e:浣跨敤镓╁𪾢鍐呭瓨瑁呭叆鍏夐┍椹卞姩绋嫔簭.
/s:浣垮厜椹卞湪ms_net鎴杦indows鏄钖﹁剧疆涓哄叡浜鍏夐┍
/V鏄钖﹀湪锷犺浇镞舵樉绀哄唴瀛.
/L:letter 鍒嗛厤缁椤厜椹辩殑鐩樼
/m:number 鎸囧畾缂揿啿鍣ㄧ殑鏁扮洰
搴旇ユ敞镒忕殑鏄:?濡傛灉鐢╯martdrv.exe 锷犻熷瑰厜椹辩殑璇诲啓鑳藉姏,搴旇ュ湪autoexec.
bat涓灏唌scdex.?exe 鍐椤湪smartdrv.exe 涔嫔墠,smartdrv.exe镄勪娇鐢ㄥ彲澶у箙鎻愰珮
瀵归┍锷ㄥ櫒镄勮诲啓鑳藉姏.
浜屽崄銆乵sd镄勪娇鐢
浣跨敤msd 鍙浠ユ暣浣撴镆ヨ$畻链洪厤缃鍙婄郴缁熶俊鎭
鍖呮嫭:?椹卞姩鍣ㄥ弬鏁,璁$畻链篶pu鍙傛暟,鍐呭瓨澶у皬鍙傛暟,鏄剧ず鍣ㄧ被鍨,涓.骞跺彛𨱍呭喌,浠
鍙婂悇涓狪RQ鍗犵敤𨱍呭喌,鎹姝ゅ彲浠ュ垎鏋愭柊澧炶惧囨槸钖︿笌铡熸潵璁惧囨湁鍐茬獊.
钖屾椂涔熷彲浠ラ氲繃鍒嗘瀽鍐呭瓨椹荤暀绋嫔簭,鍒ゆ柇鍐呭瓨涓鏄钖︽湁䦅呮瘨,链夊垯镙囦负???.
浜屽崄涓銆乸rompt dos鎻愮ず绗
$q 绛変簬鍙 $t 褰揿墠镞堕棿 $d 褰揿墠镞ユ湡 $p 褰揿墠椹卞姩鍣ㄧ﹀彿
$$ $鍙锋彁绀 $n褰揿墠椹卞姩鍣 $g 澶т簬鍙 $l灏忎簬鍙 $b 鏄剧ず|绠¢亾鍙
$h 闅愬幓鎻愮ず绗 $E鏄剧ず<-鍙
瀵逛簬鍏跺畠鏂囧瓧,鍒欑洿鎺ユ樉绀烘枃链链韬玴rompt ljw,鍒欐樉绀轰负ljw鎻愮ず绗
prompt 鍒欎粎鏄剧ず褰揿墠椹卞姩鍣ㄥ彿鍙婂ぇ浜庡彿.
浜屽崄浜屻乺amdrive.sys 浣跨敤鍐呭瓨褰揿仛铏氭嫙鐩樻潵浣跨敤
搴旀敞镒,镓链夋暟鎹閮藉瓨鍦ㄤ簬鍐呭瓨涓,搴斿强镞跺皢鍏跺瓨鍒扮‖鐩树腑,钖﹀垯鎺夌数钖庢垨钥呮绘満
钖庡皢涓㈠け鍏ㄩ儴鏁版嵁,浼樼偣鏄杩愯岄熷害蹇,浣嗕笉鑳藉湪windows涓浣跨敤.
绀轰緥:config.sys: device=c:\\dos\\ramdrive.sys /size[/e|a]
size涓轰互k涓哄崟浣岖殑瀛楄妭鏁,鍗冲缓绔嬬殑铏氭嫙鐩樼殑澶у皬.
/e鎴/a 閮芥槸浣跨敤镓╁𪾢鍐呭瓨𨱒ュ缓绔嬭櫄𨰾熺洏,?锷犲弬鏁扮殑鍓嶆彁鏄蹇呴’鍏埚姞杞藉唴瀛樼$悊
鍣╤imem.sys鍙奺mm386.exe.
浜屽崄涓夈乻ubst 灏嗕竴涓椹卞姩鍣ㄤ笌涓涓瀛愮洰褰曡仈鎺
濡:灏嗗笰:\\l1\\l2 瀛愮洰褰旷殑璇锋眰鏄犲皠涓篠鐩,鍒栾緭鍏
subst s: a:\\l1\\l2 鍗冲彲
杩欐牱浣跨敤dir s:?绛夊懡浠ゅ垯鏄剧ず镄勬槸a:\\l1\\l2瀛愮洰褰曚笅镄勫唴瀹,鍏跺畠 del 涓镙
鍙浠ョ敤subst s: d 𨱒ュ彇娑堣繖绉嶆椠灏.
鍙浠ョ敤subst 𨱒ユ樉绀哄悇绉嶈仈鎺ユ儏鍐
娉ㄦ剰:?鍙浠ラ噰鐢╯ubst a: c:a 𨱒ュ缓绔嬩竴涓瀵逛簬A镄勮诲啓鐩.瀵逛簬镆愪簺瀹夎呰蒋浠
𨱒ヨ,?蹇呴’浣跨敤A鐩樻潵瀹夎,灏卞彲浠ヤ娇鐢ㄥ厛灏嗘墍瑕佸畨瑁呯殑杞浠跺叏閮ㄦ嫹璐濆埌C:a瀛
鐩褰曚腑,铹跺悗杈揿叆subst a: c:a,鍐嶈浆鍒痨:,灏卞彲浠ヨ繘琛岃蒋浠剁殑瀹夎呬简.
浜屽崄锲涖乵em /c /m /p /d 甯歌勫唴瀛樻樉绀虹▼搴
/c鏄剧ず镓链夊唴瀛橀┗鐣欑▼搴忕殑鍗犵敤𨱍呭喌,鍒嗕负conventional甯歌勫唴瀛桦拰uppermemory
楂樼鍐呭瓨鍗犵敤,骞舵樉绀烘荤殑鍗犵敤𨱍呭喌(甯歌 楂樼 淇濈暀 镓╁𪾢鍐呭瓨)
/p鍒嗛〉鏄剧ず,椤甸棿𨱌傚仠
/m钖庡姞妯″潡钖 濡:/m msdos 鏄剧ずdos绯荤粺鍐呭瓨镄勫崰鐢.
/d瀵瑰父瑙 楂樼 淇濈暀 镓╁𪾢鍐呭瓨锷犱互璇︾粏渚嬭〃璇存槑
阃氲繃鍒嗘瀽,鍙浠ョ湅鍑哄唴瀛桦崰鐢ㄦ槸钖﹀悎鐞,浠ュ强钖勭岖▼搴忔槸钖︽e父锷犺浇,浠庤屽湪姝ゅ熀
纭涓娄娇鐢ㄥ唴瀛树紭鍖栧伐鍏穖emmaker杩涜屽悇绉岖$悊,钖屾椂鍙埚彲浠ュ垎鏋愬嚭涓浜涚▼搴忔绘満
镄勫师锲,鑻ユ湁镄勫湴鏂规樉绀???,鍒椤彲浠ユ柇瀹氩唴瀛树腑链夌梾姣掔殑瀛桦湪,链夊埄浜庡彂鐜板强娑堢伃
浜屽崄浜斻佸悇绉岖¢亾宸ュ叿镄勪娇鐢> < >> <<
灏嗗悇绉嶅懡浠ら犳垚镄勮緭鍑烘垨镓闇瑕佺殑杈揿叆閲嶆柊瀹氩悜
濡:dir *.bat /b>p 鍙浠ュ皢dir *.bat 渚嫔嚭镄勬枃浠跺悕杈揿嚭鍒皃鏂囦欢涓.
time
>p.bat
p鏂囦欢涓浠呭瓨鍦ㄤ竴涓锲炶溅绗,鍒椤彲浠ュ皢镞堕棿杩藉姞杩沺.bat鏂囦欢涓
> >> 鏄灏嗗懡浠や骇鐢熺殑杈揿嚭閲嶆柊瀹氩悜,姣斿傚埌鏂囦欢鎴栨墦鍗版満涓.
>>浜х敓镄勫唴瀹瑰皢杩藉姞杩涙枃浠朵腑,>鍒椤皢铡熸枃浠跺唴瀹硅嗙洊.
< << 鏄灏嗗懡浠ゆ墍闇瑕佽緭鍏ョ殑鍐呭归吨鏂板畾钖.
濡:time
闇瑕佽存槑镄勬槸 prn 涓烘墦鍗版満, null涓虹┖璁惧
con 涓烘樉绀哄櫒
type p.bat>prn 鍙灏唒.bat镓揿嵃鍑烘潵.
null p 鍙灏唒鏂囦欢鍒犻櫎鎺
con p 鍙浠ュ湪灞忓箷涓婄紪杈憄鏂囦欢,F6鍙浠ュ瓨鐩橀鍑
type p>pp 瀹屾垚p鏂囦欢鍒皃p 镄勫嶅埗
type p|more 鍙鍦ㄥ睆婊℃椂𨱌傚仠鏄剧ず
浜屽崄鍏銆乵ove 锻戒护
move [y/-y] filename1 filename2
灏嗘枃浠1绉诲姩鍒版枃浠2澶
濡:move c:\\dos\\*.* c:\\cced
灏哾os瀛愮洰褰曚笅镄勬墍链夋枃浠跺叏閮ㄧЩ锷ㄥ埌cced 瀛愮洰褰曚笅
/y|-y鍙傛暟鍦ㄧ洰镙囩洰褰曚笉瀛桦湪闇瑕佸垱寤烘椂,鏄钖﹀嚭鐜版彁绀
鍙浠ヤ娇鐢ㄨュ懡浠や慨鏀瑰瓙鐩褰曞悕绉,濡 move dos cced
灏哾os鐩褰曞悕鏀逛负cced
浜屽崄涓冦乤ppend 鎸囧畾涓浜涚壒娈婃暟鎹鏂囦欢镄勫瓨鏀句綅缃,濡倁ser.dat pe2.pro绛変竴浜涢潪*.exe *.com *.bat 鏂囦欢
镙煎纺:append [:]缁堟浠ュ墠瀛桦湪镄勬寚瀹氱洰褰 append 鏄剧ず鎸囧畾𨱍呭喌
append [path] append c:\\user 绛
浜屽崄鍏銆乧all 鍦ㄤ竴涓镓瑰勭悊锻戒护涓璋幂敤鍙﹀栦竴涓镓瑰勭悊鏂囦欢
(1)涓岖粓姝㈢幇链夋枃浠剁殑杩愯,镓ц屽畬鎺夌敤绋嫔簭钖庣珛鍗宠繑锲.
(2)琚璋幂敤镓瑰勭悊锻戒护蹇呴’浠bat 涓烘墿灞曞悕
(3)璋幂敤镓瑰勭悊鏂囦欢镞,鍙浠ュ姞涓婂弬鏁(%1-%9)浠ュ强鐜澧冨彉閲忓%baud%
(4)涓嶈兘浣跨敤绠¢亾宸ュ叿鍙婇吨瀹氩悜宸ュ叿
浜屽崄涔濄乨evice devicehigh loadhigh
device 灏嗘寚瀹氱殑璁惧囬┍锷ㄧ▼搴忚呭叆鍐呭瓨涓
devicehigh灏嗘寚瀹氱殑璁惧囬┍锷ㄧ▼搴忚呭叆楂樼鍐呭瓨涓
loadhigh 灏嗘寚瀹氱殑璁惧囬┍锷ㄧ▼搴忚呭叆楂樼鍐呭瓨涓
涓夊崄銆乨efrag 浼桦寲纾佺洏
legend(浼犲) optimize(浼桦寲) elapse(阃濆幓) fragment(纰庣墖)
璇ュ懡浠ゆ墽琛屽规寚瀹氱殑鐩樿繘琛屼紭鍖栧勭悊(鍖呮嫭妫镆ユ枃浠跺垎閰嶈〃,钖勬枃浠剁姸镐,绾犳i敊璇),鍦ㄦ墽琛屾椂,鍙鎸夌収鏂囦欢钖嶅ぇ灏,镞堕棿,镓╁𪾢钖嶅规枃浠惰繘琛屾帓搴.
涓銆乨ir
鍦―OS5.0浠ュ墠锛宒ir鍙链変袱涓鍙傛暟/p,/w銆
dir/a锛氩彲浠ョ湅褰揿墠鐩褰曚笅镓链夌殑鏂囦欢锛屽寘𨰾闅愯棌銆佺郴缁熴佸彧璇绘枃浠躲
dir/s锛氩彲浠ョ湅褰揿墠鐩褰曚笅镄勬枃浠讹纴鍖呮嫭瀛愮洰褰曚腑镄勬枃浠躲
浣嗘槸锛岀敤dir/a/s铏界劧鍙浠ョ湅鍒板綋鍓岖洰褰曚笅镄勯殣钘忕洰褰曪纴浣嗕笉鑳界湅闅愯棌鐩褰曚笅镄勬枃浠躲
浜屻亁
/e锛氩傛灉镆愪釜瀛愮洰褰曚负绌虹洰褰曟椂涔熸嫹璐濄
/s锛氩彧𨰾疯礉闱炵┖瀛愮洰褰
涓夈乪rase=del
锲涖乫c
鍦ㄤ慨鏀规父鎴忔椂鐢ㄧ殑链澶氥
浜斻乫ormat
/t:tracks 杩欎釜鍙傛暟鏄鍜/n閰嶅椾娇鐢ㄧ殑銆傚畠镙囨槑瑕佸皢杞鐩樻牸寮忓寲涓篓racks涓纾侀亾/闱銆傚傛灉𨱍冲皢杞鐩樼殑瀹归噺瓒呰繃1.44M锛屽氨瑕佺敤/t鍜/n銆/t:80/n:18涓1.44M銆
/1锛氩彧镙煎纺鍖栦竴闱锛堜负浠ュ墠镄勫崟闱㈣蒋鐩桦吋瀹癸级
/4锛氭牸寮忓寲鎴愪绠瀵嗙洏銆
鍏锛歳amdrive.sys
/e鍜/a涓涓鐢ㄧ殑鏄疎MS锛屼竴涓鐢ㄧ殑鏄疿MS銆