¼¶±ð: ¸±½ÌÊÚ
UID: 4
¾«»ª: 0
·¢Ìû: 272
ÍþÍû: 151 µã
»ý·Öת»»
ÓÞÓÞ±Ò: -39 YYB
ÔÚÏß³äÖµ
¹±Ï×Öµ: 0 µã
ÔÚÏßʱ¼ä: 1317(Сʱ)
×¢²áʱ¼ä: 2006-06-14
×îºóµÇ¼: 2012-03-29
Â¥Ö÷  ·¢±íÓÚ: 2006-08-19 13:37

 Æƽâ»ù±¾ÖªÊ¶Ö®Ò»£ºDOS³£ÓÃÃüÁîÏê½â

ÒýÓÃ
Dir
ÏÔʾĿ¼ÎļþºÍ×ÓĿ¼Áбí
¿ÉÒÔʹÓÃͨÅä·û£¨? ºÍ *£©£¬£¿±íͨÅäÒ»¸ö×Ö·û£¬*±íͨÅäÈÎÒâ×Ö·û
*.ºó׺
Ö¸¶¨Òª²é¿´ºó׺µÄÎļþ¡£ ÉÏÃæÆäʵҲ¿ÉÒÔΪ¡° . ºó׺¡±,ÀýÈçdir *.exe µÈÓÚdir .exe
/p
ÿ´ÎÏÔʾһ¸öÁбíÆÁÄ»¡£Òª²é¿´ÏÂÒ»ÆÁ£¬Çë°´¼üÅÌÉϵÄÈÎÒâ¼ü¡£
/w
ÒÔ¿í¸ñʽÏÔʾÁÐ±í£¬ÔÚÿһÐÐÉÏ×î¶àÏÔʾ 5 ¸öÎļþÃû»òĿ¼Ãû¡£
/s
ÁгöÖ¸¶¨Ä¿Â¼¼°ËùÓÐ×ÓĿ¼ÖгöÏÖµÄÿ¸öÖ¸¶¨µÄÎļþÃû¡£
dir *.* -> a.txt °Ñµ±Ç°Ä¿Â¼ÎļþÁбíдÈëa.txt
dir *.* /s -> a.txt °Ñµ±Ç°Ä¿Â¼ÎļþÁбíдÈëa.txt£¬°üÀ¨×ÓĿ¼ÏÂÎļþ¡£


ÒýÓÃ
Attrib
ÏÔʾ¡¢ÉèÖûòɾ³ýÖ¸ÅɸøÎļþ»òĿ¼µÄÖ»¶Á¡¢´æµµ¡¢ÏµÍ³ÒÔ¼°Òþ²ØÊôÐÔ¡£Èç¹ûÔÚ²»º¬²ÎÊýµÄÇé¿öÏÂʹÓã¬Ôò attrib »áÏÔʾµ±Ç°Ä¿Â¼ÖÐËùÓÐÎļþµÄÊôÐÔ¡£
+r
ÉèÖÃÖ»¶ÁÊôÐÔ¡£
-r
Çå³ýÖ»¶ÁÊôÐÔ¡£
+a
ÉèÖô浵ÎļþÊôÐÔ¡£
-a
Çå³ý´æµµÎļþÊôÐÔ¡£
+s
ÉèÖÃϵͳÊôÐÔ¡£
-s
Çå³ýϵͳÊôÐÔ¡£
+h
ÉèÖÃÒþ²ØÊôÐÔ¡£
-h
Çå³ýÒþ²ØÊôÐÔ¡£


ÒýÓÃ
Cls
Çå³ýÏÔʾÔÚÃüÁîÌáʾ·û´°¿ÚÖеÄËùÓÐÐÅÏ¢£¬²¢·µ»Ø¿Õ´°¿Ú£¬¼´¡°ÇåÆÁ¡±


ÒýÓÃ
Exit
Í˳öµ±Ç°ÃüÁî½âÊͳÌÐò²¢·µ»Øµ½ÏµÍ³¡£


ÒýÓÃ
format
¸ñʽ»¯
/q
Ö´ÐпìËÙ¸ñʽ»¯¡£É¾³ýÒÔÇ°ÒѸñʽ»¯¾íµÄÎļþ±íºÍ¸ùĿ¼£¬µ«²»ÔÚÉÈÇøÖ®¼äɨÃèËð»µÇøÓò¡£Ê¹Óà /q ÃüÁîÐÐÑ¡ÏîÓ¦¸Ã½ö¸ñʽ»¯ÒÔÇ°ÒѸñʽ»¯µÄÍêºÃµÄ¾í¡£


ÒýÓÃ
Ipconfig
ÏÔʾËùÓе±Ç°µÄ TCP/IP ÍøÂçÅäÖÃÖµ¡¢Ë¢Ð¶¯Ì¬Ö÷»úÅäÖÃЭÒé (DHCP) ºÍÓòÃûϵͳ (DNS) ÉèÖá£Ê¹Óò»´ø²ÎÊýµÄ ipconfig ¿ÉÒÔÏÔʾËùÓÐÊÊÅäÆ÷µÄ IP µØÖ·¡¢×ÓÍøÑÚ*****¡¢Ä¬ÈÏ¡£
/all
ÏÔʾËùÓÐÊÊÅäÆ÷µÄÍêÕû TCP/IP ÅäÖÃÐÅÏ¢¡£
ipconfig µÈ¼ÛÓÚ winipcfg£¬ºóÕßÔÚME¡¢98 ºÍ 95 ÉÏ¿ÉÓ᣾¡¹Ü Windows XP ûÓÐÌṩÏó winipcfg ÃüÁîÒ»ÑùµÄͼÐλ¯½çÃ棬µ«¿ÉÒÔʹÓá°ÍøÂçÁ¬½Ó¡±²é¿´ºÍ¸üРIP µØÖ·¡£Òª×öµ½ÕâÒ»µã£¬Çë´ò¿ª ÍøÂçÁ¬½Ó£¬ÓÒ¼üµ¥»÷ijһÍøÂçÁ¬½Ó£¬µ¥»÷¡°×´Ì¬¡±£¬È»ºóµ¥»÷¡°Ö§³Ö¡±Ñ¡Ï¡£
¸*************************üÁî×îÊÊÓÃÓÚÅäÖÃΪ×Ô¶¯»ñÈ¡ IP µØÖ·µÄ¼ÆËã»ú¡£ËüʹÓû§¿ÉÒÔÈ·¶¨ÄÄЩ TCP/IP ÅäÖÃÖµÊÇÓÉ DHCP¡¢×Ô¶¯×¨Óà IP µØÖ· (APIPA) ºÍÆäËûÅäÖÃÅäÖõġ£


ÒýÓÃ
md
´´½¨Ä¿Â¼»ò×ÓĿ¼


ÒýÓÃ
Move
½«Ò»¸ö»ò¶à¸öÎļþ´ÓÒ»¸öĿ¼Òƶ¯µ½Ö¸¶¨µÄĿ¼¡£


ÒýÓÃ
Nbtstat
ÏÔʾ±¾µØ¼ÆËã»úºÍÔ¶³Ì¼ÆËã»úµÄ»ùÓÚ TCP/IP (NetBT) ЭÒéµÄ NetBIOS ͳ¼Æ×ÊÁÏ¡¢NetBIOS Ãû³Æ±íºÍ NetBIOS Ãû³Æ»º´æ¡£Nbtstat ¿ÉÒÔˢРNetBIOS Ãû³Æ»º´æºÍ×¢²áµÄ Windows Internet Ãû³Æ·þÎñ (WINS) Ãû³Æ¡£Ê¹Óò»´ø²ÎÊýµÄ nbtstat ÏÔʾ°ïÖú¡£Nbtstat ÃüÁîÐвÎÊýÇø·Ö´óСд¡£
-a remotename
ÏÔʾԶ³Ì¼ÆËã»úµÄ NetBIOS Ãû³Æ±í£¬ÆäÖУ¬RemoteName ÊÇÔ¶³Ì¼ÆËã»úµÄ NetBIOS ¼ÆËã»úÃû³Æ¡£
-A IPAddress
ÏÔʾԶ³Ì¼ÆËã»úµÄ NetBIOS Ãû³Æ±í£¬ÆäÃû³ÆÓÉÔ¶³Ì¼ÆËã»úµÄ IP µØÖ·Ö¸¶¨£¨ÒÔСÊýµã·Ö¸ô£©¡£


ÒýÓÃ
Netstat
ÏÔʾ»î¶¯µÄ TCP Á¬½Ó¡¢¼ÆËã»úÕìÌýµÄ¶Ë¿Ú¡¢ÒÔÌ«Íøͳ¼ÆÐÅÏ¢¡¢IP ·ÓÉ±í¡¢IPv4 ͳ¼ÆÐÅÏ¢£¨¶ÔÓÚ IP¡¢ICMP¡¢TCP ºÍ UDP ЭÒ飩ÒÔ¼° IPv6 ͳ¼ÆÐÅÏ¢£¨¶ÔÓÚ IPv6¡¢ICMPv6¡¢Í¨¹ý IPv6 µÄ TCP ÒÔ¼°Í¨¹ý IPv6 µÄ UDP ЭÒ飩¡£Ê¹ÓÃʱÈç¹û²»´ø²ÎÊý£¬netstat ÏÔʾ»î¶¯µÄ TCP Á¬½Ó¡£
-a
ÏÔʾËùÓлµÄ TCP Á¬½ÓÒÔ¼°¼ÆËã»úÕìÌýµÄ TCP ºÍ UDP ¶Ë¿Ú¡£


ÒýÓÃ
Ping
ͨ¹ý·¢ËÍ¡°Íø¼ÊÏûÏ¢¿ØÖÆЭÒé (ICMP)¡±»ØÏìÇëÇóÏûÏ¢À´ÑéÖ¤ÓëÁíһ̨ TCP/IP ¼ÆËã»úµÄ IP ¼¶Á¬½Ó¡£»ØÏìÓ¦´ðÏûÏ¢µÄ½ÓÊÕÇé¿ö½«ºÍÍù·µ¹ý³ÌµÄ´ÎÊýÒ»ÆðÏÔʾ³öÀ´¡£Ping ÊÇÓÃÓÚ¼ì²âÍøÂçÁ¬½ÓÐÔ¡¢¿Éµ½´ïÐÔºÍÃû³Æ½âÎöµÄÒÉÄÑÎÊÌâµÄÖ÷Òª TCP/IP ÃüÁî¡£Èç¹û²»´ø²ÎÊý£¬ping ½«ÏÔʾ°ïÖú¡£Ãû³ÆºÍIpµØÖ·½âÎöÊÇËüµÄ×î¼òµ¥Ó¦ÓÃÒ²ÊÇÓõÄ×î¶àµÄ¡£
-t
Ö¸¶¨ÔÚÖжÏÇ° ping ¿ÉÒÔ³ÖÐø·¢ËÍ»ØÏìÇëÇóÐÅÏ¢µ½Ä¿µÄµØ¡£ÒªÖжϲ¢ÏÔʾͳ¼ÆÐÅÏ¢£¬Çë°´ CTRL-BREAK¡£ÒªÖжϲ¢Í˳ö ping£¬Çë°´ CTRL-C¡£
-lSize
Ö¸¶¨·¢Ë͵ĻØÏìÇëÇóÏûÏ¢ÖС°Êý¾Ý¡±×ֶεij¤¶È£¨ÒÔ×Ö½Ú±íʾ£©¡£Ä¬ÈÏֵΪ 32¡£size µÄ×î´óÖµÊÇ 65,527¡£


ÒýÓÃ
Rename (Ren)
¸ü¸ÄÎļþµÄÃû³Æ¡£
ÀýÈç ren *.abc *.cba


ÒýÓÃ
Set
ÏÔʾ¡¢ÉèÖûòɾ³ý»·¾³±äÁ¿¡£Èç¹ûûÓÐÈκβÎÊý£¬set ÃüÁÏÔʾµ±Ç°»·¾³ÉèÖá£


ÒýÓÃ
Shutdown
ÔÊÐíÄú¹Ø±Õ»òÖØÐÂÆô¶¯±¾µØ»òÔ¶³Ì¼ÆËã»ú¡£Èç¹ûûÓÐʹÓòÎÊý£¬shutdown ½«×¢Ïúµ±Ç°Óû§¡£
-m ComputerName
Ö¸¶¨Òª¹Ø±ÕµÄ¼ÆËã»ú¡£
-t xx
½«ÓÃÓÚϵͳ¹Ø±ÕµÄ¶¨Ê±Æ÷ÉèÖÃΪ xx Ã롣ĬÈÏÖµÊÇ 20 Ãë¡£
-l
×¢Ïúµ±Ç°Óû§£¬ÕâÊÇĬÈÏÉèÖá£-m ComputerName ÓÅÏÈ¡£
-s
¹Ø±Õ±¾µØ¼ÆËã»ú¡£
-r
¹Ø±ÕÖ®ºóÖØÐÂÆô¶¯¡£
-a
ÖÐÖ¹¹Ø±Õ¡£³ýÁË -l ºÍ ComputerName Í⣬ϵͳ½«ºöÂÔÆäËü²ÎÊý¡£ÔÚ³¬Ê±Æڼ䣬ÄúÖ»¿ÉÒÔʹÓà -a¡£


ÒýÓÃ
System File Checker (sfc)
winϲÅÓУ¬ÔÚÖØÐÂÆô¶¯¼ÆËã»úºóɨÃèºÍÑéÖ¤ËùÓÐÊܱ£»¤µÄϵͳÎļþ¡£
/scannow
Á¢¼´É¨ÃèËùÓÐÊܱ£»¤µÄϵͳÎļþ¡£
/scanonce
Ò»´ÎɨÃèËùÓÐÊܱ£»¤µÄϵͳÎļþ¡£
/purgecache
Á¢¼´Çå³ý¡°Windows Îļþ±£»¤¡±Îļþ¸ßËÙ»º´æ£¬²¢É¨ÃèËùÓÐÊܱ£»¤µÄϵͳÎļþ¡£
/cachesize=x
ÉèÖá°Windows Îļþ±£»¤¡±Îļþ¸ßËÙ»º´æµÄ´óС£¬ÒÔ MB Ϊµ¥Î»¡£


ÒýÓÃ
type
ÏÔʾÎı¾ÎļþµÄÄÚÈÝ¡£Ê¹Óà type ÃüÁî²é¿´Îı¾Îļþ»òÕßÊÇbatÎļþ¶ø²»ÐÞ¸ÄÎļþ


ÒýÓÃ
Tree
ͼÏñ»¯ÏÔʾ·¾¶»òÇý¶¯Æ÷ÖдÅÅ̵ÄĿ¼½á¹¹¡£


ÒýÓÃ
Xcopy
ÎļþºÍĿ¼£¬°üÀ¨×ÓĿ¼¡£
/s
·Ç¿ÕµÄĿ¼ºÍ×ÓĿ¼¡£Èç¹ûÊ¡ÂÔ /s£¬xcopy ½«ÔÚÒ»¸öĿ¼Öй¤×÷¡£
/e
ËùÓÐ×ÓĿ¼£¬°üÀ¨¿ÕĿ¼¡£


ÒýÓÃ
copy
½«Ò»¸ö»ò¶à¸öÎļþ´ÓÒ»¸öλÖõ½ÆäËûλÖÃ


ÒýÓÃ
del
ɾ³ýÖ¸¶¨Îļþ¡£

²»¶®»¶Ó­¸úÌùÌáÎÊ
·¾¶Õ­´¦£¬ÁôÒ»²½ÓëÈËÐÐ
·ÖÏí:

ÓÞÓÞѧ԰ÊôÓÚ´¿Ñ§Êõ¡¢·Ç¾­ÓªÐÔרҵÍøÕ¾£¬ÎÞÈκÎÉÌÒµÐÔÖÊ£¬´ó¼Ò³öÓÚѧϰºÍ¿ÆÑÐÄ¿µÄ½øÐн»Á÷ÌÖÂÛ¡£

ÈçÓÐÉæÇÖ·¸Öø×÷ȨÈ˵İæȨµÈÐÅÏ¢£¬Ç뼰ʱÀ´ÐŸæÖª£¬ÎÒÃǽ«Á¢¿Ì´ÓÍøÕ¾ÉÏɾ³ý£¬²¢ÏòËùÓгְæȨÕßÖÂ×îÉîǸÒ⣬лл¡£