Ⅰ 璋佺煡閬撴湁鍏充簬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銆