1.msdԴ?elipse怎么导源码?
2.dosåå±åå²
msdԴ??
/* determine the amount of the change
change = (paid - check) * ;
determine the number of dollars in the change
dollars = change / ;
…
(1). Using the previous statements as a starting point, write a C program
that calculates the number of dollar bills( cents), quarters coins(
cents), dimes coins ( cents), nickels coins (5 cents), and pennies coins (1
cents) in the change when $ is used to pay a bill of $6..
(2) Using the C program to calculate the change when a check of $.
is paid using a $ bill.
*/
#include "stdio.h"
void getChange(int paid, float bill)
{
if (paid < bill)
{
printf("Your money cant paid for the bill!\n");
return;
}
else
{
int remain;
int dollor = 0,quarter = 0,dime = 0,nickel = 0,penny = 0;
remain = (paid* - bill*)+0.5;
dollor = remain/;
printf("Change Dollors: %d\n",dollor);
remain -= dollor*;
quarter = remain/;
printf("Change Quarters: %d\n",quarter);
remain -= quarter*;
dime = remain/;
printf("Change Dimes: %d\n",dime);
remain -= dime*;
nickel = remain/5;
printf("Change Nickels: %d\n",nickel);
remain -=nickel*5;
penny = remain;
printf("Change Pennys: %d\n",penny);
printf("Change finished!\n");
}
}
void main()
{
int paid;
float bill;
printf("Please input your Paid($):");
scanf("%d",&paid);
printf("Please input your Bill($):");
scanf("%f",&bill);
printf("Your change is: \n");
getChange(paid, bill);
}
dosåå±åå²
1.DOSçåå±ç®å²
DOSæ¯å¹´ç±å¾®è½¯å ¬å¸ä¸ºIBM个人çµèå¼åçMS-DOSï¼å®æ¯ä¸ä¸ªåç¨æ·åä»»å¡çæä½ç³»ç»ã
åæ¥DOSçæ¦å¿µä¹å æ¬äºå ¶å®å ¬å¸ç产çä¸MS-DOSå ¼å®¹çç³»ç»ï¼å¦PC-DOS ãDR-DOSï¼ ä»¥åä¸äºå ¶å®ç¸å¯¹ä¸å¤ªåºåçDOSå ¼å®¹äº§åãå®ä»¬å¨å¹´å°å¹´åå ¶åçä¸æ®µæ¶é´å å æ®æä½ç³»ç»çç»æ²»å°ä½ï¼æèåå广æ³ä½¿ç¨çDOSç³»ç»ä»å¹´ç´å°å¹´çå¹´é´å¾®è½¯å¨æ¨åºWindows ä¹åï¼å®£å¸MS-DOSä¸ååç¬åå¸æ°çæ¬ã
ä¸è¿FreeDOSçä¸MS-DOSå ¼å®¹çDOSåå¨ç»§ç»åå±çãè½ç¶å¤§å¤æ°ç¨æ·å°å¹´ææ©å表çæ¯è¯âPCâä¸IBM PCæPCå ¼å®¹æºçåçå¾ ï¼ ä½æ¯å®é ä¸ä¸ªäººè®¡ç®æºå¨å¹´å·²ç»å¼å§ä½¿ç¨ã
DOSæ¯IBM PCåå ¶å ¼å®¹æºç¨çæä½ç³»ç»ãå¨DOSä¹åï¼ä¸äºå¾®æºä¸ºå ¶æä½ç³»ç»ä½¿ç¨å é¨BASICç¼ç¨è¯è¨ï¼èå¦å¤ä¸äºä½¿ç¨Digital Researchå ¬å¸å¼åçCP/Mæä½ç³»ç»ï¼æ¤å ¬å¸æä¾äºDR DOSï¼ã
Microsoftå ¬å¸äºå¹´åå¼åäºMS-DOSï¼å½æ¶ï¼è¯¥å ¬å¸ä¸ºä¸åå¾®æºå¼åäºåBASICè¿ç±»ç¼ç¨è¯è¨ï¼å¹´IBMæ£å¨è®¾è®¡ææ©çIBM PC并请Microsoftä¸ºå ¶æ°åæºå¼åå¤ä¸ªç¼ç¨è¯è¨ãè¿æ¬¡CP/Mä½ä¸ºéæ©çæä½ç³»ç»å¹¶æ为IBMæ°æºç§çæä½ç³»ç»ã
å¨Microsoft为IBM PC 设计è¯è¨çè¿ç¨ä¸ï¼å°½ç®¡Microsoftå ¬å¸æ¹è¿äºIBM PCçè¯è¨è®¾è®¡ååºç¨ç¨åºè®¾è®¡ï¼ä½æ¯ä»ä»¬è®¤è¯å°å¼åPCæä½ç³»ç»ææ¯å ¶åªåæ¹åãç¶èï¼ç±äºæ²¡æ足å¤çæ¶é´ä»é¶å¼å§å¼åä¸ä¸ªæä½ç³»ç»ã
为解å³è¿ä¸ªé®é¢ï¼Microsoftè´ä¹°äºä¸ä¸ªç¨äºå¤çå¨çæä½ç³»ç»-DOS,-DOSæä½ç³»ç»æ¯è¥¿é å¾çµè产åå ¬å¸ï¼Seattle puter Productsï¼çä¸åå²çç¨åºåèå§Â·å¸ç¹æ£®ï¼Tim Patersonï¼è±è´¹äºå个ææ¶é´ç¼çï¼è¯¥æä½ç³»ç»ä¸ææ©çIBM PCä¸çå¤çå¨é常ç¸ä¼¼ãç»æ¯å°IBMçµèå®è£ ä¸ä¸ªDOSç³»ç»ï¼å¾®è½¯å°±æ¶åç¾éçåä¸è¿ä½æ¨¡å¼ï¼é å°±äºå¾®è½¯çåæè¾ç ã
åå±åç¨éççµè硬件çä¸æåå±ï¼ä»Windows å°Windows XPåå°çWindows 7以åå¹´åå¸çWindows 8ä¸ï¼MS-dosçæ ¸å¿ä¾ç¶åå¨ï¼åªæ¯å ä¸Windowså½ä½ç³»ç»çå¾å½¢çé¢ï¼ç´å°çº¯ ä½çæ¬çWindowsç³»ç»ï¼ä»Windows NTå¼å§ï¼å ¶ä¸å°±å å«äº Windows ãWindows XPãWindows VistaãWindows 7åWindows 8ï¼ãç±æ¤å¯è§dosççå½åæ强ã
ä¾å¦ç³»ç»è¿ååå®è£ é½éè¦DOS,DOSç¨èµ·æ¥ä¹å¾æ¹ä¾¿ãDOSæ¯ä¸ªé常å®ç¨çæä½ç³»ç»ï¼å æ¤ï¼å®æ·±æ·±åå°å½å å¤äººä»¬çæ®éåç±ï¼ä¸ç´æ¥ææ°ä»¥äº¿è®¡çç¨æ·ã
ä½æ¯ï¼èªä»å¹´ä»¥æ¥ï¼Microsoftå ¬å¸åºäºåä¸å©ççæ¹é¢çåå ï¼å³å®æå¼æä¸çMS-DOSãå½æ¶ï¼DOSå·²æ许å¤ç§ï¼é¤MS-DOS以å¤ï¼è¿æPC-DOS,DR-DOS,FreeDOSçï¼ä½æ¯ç±äºåå°Microsoftå ¬å¸çæ¤åï¼æ 使ç¨ç人æ°ä¸å¤ï¼è大å¤æ°ç¨æ·é½å¨ä½¿ç¨MS-DOSã
ç±äºMicrosoftå½»åºæ¾å¼äºMS-DOSï¼è转以å¼åWindowsï¼å¼èµ·äºå¹¿å¤§DOS使ç¨è åç±å¥½è çä¸æ»¡ï¼èä¸ï¼å¤§å®¶é常æ使ç¨çWindows 9xä¹åªæ¯DOSä¸çä¸ä¸ªå¤§åç¨åºç½¢äºï¼å¦æ没æDOSçæ¯æï¼å®æ ¹æ¬æ æ³è¿è¡ãä½ä¹ç±æ¤å¯è§DOSçåè½å ¶å®æ¯é常强大çï¼ä»¥åDOS软件æ¥æ巨大çå¼åæ½è½ï¼å 为åWindowsé£æ ·å¼ºå¤§çDOSå¢å¼ºç¨åºé½å¯ä»¥ç¼åºæ¥ã
æ¯è¾Windowsæ¯ä¸ä¸ªå¤ä»»å¡çæä½ç¯å¢ï¼ä½å®å¯¹ç¨åºç¼åç约æåéå¶æ¯DOSé«å¾å¤ï¼å è许å¤ç¨åºååºäºå¯¹Windowsçä¸æ»¡å对DOSå¼åçä»·å¼åæ½åçæ·±å»è®¤è¯ï¼ç»§ç»å¼åDOS软件ãç±äºå¤å¹´çç»éªç积累ï¼ä»ä»¬ç软件å¼åæ°´å¹³è¶æ¥è¶é«ï¼å æ¤ä»ä»¬å¼ååºçDOS软件çè´¨éä¹è¶æ¥è¶é«ã
为äºå¼åæ´å¤ç软件并ä¸å¢å å¼åçæçï¼ä»ä»¬è®¾è®¡äºä¸ä¸ªåä¸ä¸ªDOS软件çå¼åå·¥å ·ãèç¨è¿äºå¼åå·¥å ·ç人ä¹è¶æ¥è¶å¤ï¼å¹¶å¨å½å¤è¿ éå°æµä¼ å¼æ¥ï¼è¯¦æ å¯è§ä¸ç¯å«ä½âDJGPPç¨åºä¸ä¿æ¤æ¨¡å¼âçæç« ï¼å¨âDOSæç« âæ ç®ä¸ï¼ã
ä¸ä¸ªå°¤ä¸ºéè¦çæ¯ï¼æ£å¦ä¸æææå°ï¼è½ç¶MS-DOSå·²ç»ä¸å继ç»åå±äºï¼ä½å¹¶ä¸æå³çæ´ä¸ªDOSä¹ä¸å继ç»åå±äºãMS-DOSçæé«çæ¬æ¯8.0ï¼å å«å¨Windows MEä¸ï¼ï¼éåMicrosoftå¼å§å¼ååºäºWindows NTæ件çWindowsï¼ææäºçæ£ç¬ç«çæä½ç³»ç»ã
é¤äºMS-DOS以å¤ï¼å ¶å®çDOSä¹å¨åå±çãä»å¨ä¸æåå±åæ´æ°ä¸çDOSæFreeDOSãPTS-DOSãROM-DOSçï¼è¿äºDOSçåè½é½åå强大ï¼å¾å¾è¶ è¿MS-DOSï¼èä¸FreeDOSè¿æ¯å®å ¨å è´¹ä¸èªç±å¼æ¾çã
å æ¤ï¼ç¨åºå们å®å ¨å¯ä»¥ä¸ºå®ä»¬å¼åæ°çDOS软件ï¼èä¸å¿ ä¾èµäºMS-DOSãè¿å¤§æ¦æ¯å¹´ä»£æ«DOSçæ åµã
ç°ç¶éåï¼ä¸é¡¹å«ä½âå¼æ¾æºä»£ç è¿å¨âçæ´»å¨å ´èµ·äºãå¾å¤ç¨åºåå使ç¨è åºäºå¯¹MicrosoftçWindows横è¡é¸éçä¸æ»¡ï¼ç¦»å¼äºWindowséµè¥ã
åè代ä¹çæ¯å ´èµ·äºå¯¹å ¶å®æä½ç³»ç»è½¯ä»¶çå¼åï¼å¦DOS,Linuxçãè¿ä¸ä¸è®¾è®¡åå¼åDOS软件çäººè¿ éå¢å ï¼å¹¶çº·çº·ç»æäºå¼åå¢ä½ï¼ä»¥å¼åæ°çDOSåå ¶å®éWindowsçæä½ç³»ç»ç软件ï¼è¯¦æ å¯è§ä¸ç¯å«ä½âDOSåLinuxè¿å¹´æ¥çåå±æ¯è¾âçæç« ã
ç±äºå¼åè çå¢å¤ï¼åå çDOS软件å¼åå¨ä¹å¼å§äºè¿ä¸æ¥çæ´æ°ï¼èä¸æ¯æFATåé¿æ件åãåå ä¸è¿æ¬¡å¼å软件çæ许å¤æ¯ç¨åºåä¸çç²¾è±ï¼æ以å¼ååºæ¥çDOS软件çè´¨éèªç¶æ¯ä»éææ¯äºã
æ¯å¦ï¼ç±äºAllegroçã
2.DOSçåå±ç®å²DOSæ¯å¹´ç±å¾®è½¯å ¬å¸ä¸ºIBM个人çµèå¼åçMS-DOSï¼å®æ¯ä¸ä¸ªåç¨æ·åä»»å¡çæä½ç³»ç»ã
åæ¥DOSçæ¦å¿µä¹å æ¬äºå ¶å®å ¬å¸ç产çä¸MS-DOSå ¼å®¹çç³»ç»ï¼å¦PC-DOS ãDR-DOSï¼ ä»¥åä¸äºå ¶å®ç¸å¯¹ä¸å¤ªåºåçDOSå ¼å®¹äº§åãå®ä»¬å¨å¹´å°å¹´åå ¶åçä¸æ®µæ¶é´å å æ®æä½ç³»ç»çç»æ²»å°ä½ï¼æèåå广æ³ä½¿ç¨çDOSç³»ç»ä»å¹´ç´å°å¹´çå¹´é´å¾®è½¯å¨æ¨åºWindows ä¹åï¼å®£å¸MS-DOSä¸ååç¬åå¸æ°çæ¬ã
ä¸è¿FreeDOSçä¸MS-DOSå ¼å®¹çDOSåå¨ç»§ç»åå±çãè½ç¶å¤§å¤æ°ç¨æ·å°å¹´ææ©å表çæ¯è¯âPCâä¸IBM PCæPCå ¼å®¹æºçåçå¾ ï¼ ä½æ¯å®é ä¸ä¸ªäººè®¡ç®æºå¨å¹´å·²ç»å¼å§ä½¿ç¨ã
DOSæ¯IBM PCåå ¶å ¼å®¹æºç¨çæä½ç³»ç»ãå¨DOSä¹åï¼ä¸äºå¾®æºä¸ºå ¶æä½ç³»ç»ä½¿ç¨å é¨BASICç¼ç¨è¯è¨ï¼èå¦å¤ä¸äºä½¿ç¨Digital Researchå ¬å¸å¼åçCP/Mæä½ç³»ç»ï¼æ¤å ¬å¸æä¾äºDR DOSï¼ã
Microsoftå ¬å¸äºå¹´åå¼åäºMS-DOSï¼å½æ¶ï¼è¯¥å ¬å¸ä¸ºä¸åå¾®æºå¼åäºåBASICè¿ç±»ç¼ç¨è¯è¨ï¼å¹´IBMæ£å¨è®¾è®¡ææ©çIBM PC并请Microsoftä¸ºå ¶æ°åæºå¼åå¤ä¸ªç¼ç¨è¯è¨ãè¿æ¬¡CP/Mä½ä¸ºéæ©çæä½ç³»ç»å¹¶æ为IBMæ°æºç§çæä½ç³»ç»ã
å¨Microsoft为IBM PC 设计è¯è¨çè¿ç¨ä¸ï¼å°½ç®¡Microsoftå ¬å¸æ¹è¿äºIBM PCçè¯è¨è®¾è®¡ååºç¨ç¨åºè®¾è®¡ï¼ä½æ¯ä»ä»¬è®¤è¯å°å¼åPCæä½ç³»ç»ææ¯å ¶åªåæ¹åãç¶èï¼ç±äºæ²¡æ足å¤çæ¶é´ä»é¶å¼å§å¼åä¸ä¸ªæä½ç³»ç»ã
为解å³è¿ä¸ªé®é¢ï¼Microsoftè´ä¹°äºä¸ä¸ªç¨äºå¤çå¨çæä½ç³»ç»-DOS,-DOSæä½ç³»ç»æ¯è¥¿é å¾çµè产åå ¬å¸ï¼Seattle puter Productsï¼çä¸åå²çç¨åºåèå§Â·å¸ç¹æ£®ï¼Tim Patersonï¼è±è´¹äºå个ææ¶é´ç¼çï¼è¯¥æä½ç³»ç»ä¸ææ©çIBM PCä¸çå¤çå¨é常ç¸ä¼¼ãç»æ¯å°IBMçµèå®è£ ä¸ä¸ªDOSç³»ç»ï¼å¾®è½¯å°±æ¶åç¾éçåä¸è¿ä½æ¨¡å¼ï¼é å°±äºå¾®è½¯çåæè¾ç ã
åå±åç¨ éççµè硬件çä¸æåå±ï¼ä»Windows å°Windows XPåå°çWindows 7以åå¹´åå¸çWindows 8ä¸ï¼MS-dosçæ ¸å¿ä¾ç¶åå¨ï¼åªæ¯å ä¸Windowså½ä½ç³»ç»çå¾å½¢çé¢ï¼ç´å°çº¯ ä½çæ¬çWindowsç³»ç»ï¼ä»Windows NTå¼å§ï¼å ¶ä¸å°±å å«äº Windows ãWindows XPãWindows VistaãWindows 7åWindows 8ï¼ãç±æ¤å¯è§dosççå½åæ强ã
ä¾å¦ç³»ç»è¿ååå®è£ é½éè¦DOS,DOSç¨èµ·æ¥ä¹å¾æ¹ä¾¿ãDOSæ¯ä¸ªé常å®ç¨çæä½ç³»ç»ï¼å æ¤ï¼å®æ·±æ·±åå°å½å å¤äººä»¬çæ®éåç±ï¼ä¸ç´æ¥ææ°ä»¥äº¿è®¡çç¨æ·ã
ä½æ¯ï¼èªä»å¹´ä»¥æ¥ï¼Microsoftå ¬å¸åºäºåä¸å©ççæ¹é¢çåå ï¼å³å®æå¼æä¸çMS-DOSãå½æ¶ï¼DOSå·²æ许å¤ç§ï¼é¤MS-DOS以å¤ï¼è¿æPC-DOS,DR-DOS,FreeDOSçï¼ä½æ¯ç±äºåå°Microsoftå ¬å¸çæ¤åï¼æ 使ç¨ç人æ°ä¸å¤ï¼è大å¤æ°ç¨æ·é½å¨ä½¿ç¨MS-DOSã
ç±äºMicrosoftå½»åºæ¾å¼äºMS-DOSï¼è转以å¼åWindowsï¼å¼èµ·äºå¹¿å¤§DOS使ç¨è åç±å¥½è çä¸æ»¡ï¼èä¸ï¼å¤§å®¶é常æ使ç¨çWindows 9xä¹åªæ¯DOSä¸çä¸ä¸ªå¤§åç¨åºç½¢äºï¼å¦æ没æDOSçæ¯æï¼å®æ ¹æ¬æ æ³è¿è¡ãä½ä¹ç±æ¤å¯è§DOSçåè½å ¶å®æ¯é常强大çï¼ä»¥åDOS软件æ¥æ巨大çå¼åæ½è½ï¼å 为åWindowsé£æ ·å¼ºå¤§çDOSå¢å¼ºç¨åºé½å¯ä»¥ç¼åºæ¥ã
æ¯è¾ Windowsæ¯ä¸ä¸ªå¤ä»»å¡çæä½ç¯å¢ï¼ä½å®å¯¹ç¨åºç¼åç约æåéå¶æ¯DOSé«å¾å¤ï¼å è许å¤ç¨åºååºäºå¯¹Windowsçä¸æ»¡å对DOSå¼åçä»·å¼åæ½åçæ·±å»è®¤è¯ï¼ç»§ç»å¼åDOS软件ãç±äºå¤å¹´çç»éªç积累ï¼ä»ä»¬ç软件å¼åæ°´å¹³è¶æ¥è¶é«ï¼å æ¤ä»ä»¬å¼ååºçDOS软件çè´¨éä¹è¶æ¥è¶é«ã
为äºå¼åæ´å¤ç软件并ä¸å¢å å¼åçæçï¼ä»ä»¬è®¾è®¡äºä¸ä¸ªåä¸ä¸ªDOS软件çå¼åå·¥å ·ãèç¨è¿äºå¼åå·¥å ·ç人ä¹è¶æ¥è¶å¤ï¼å¹¶å¨å½å¤è¿ éå°æµä¼ å¼æ¥ï¼è¯¦æ å¯è§ä¸ç¯å«ä½âDJGPPç¨åºä¸ä¿æ¤æ¨¡å¼âçæç« ï¼å¨âDOSæç« âæ ç®ä¸ï¼ã
ä¸ä¸ªå°¤ä¸ºéè¦çæ¯ï¼æ£å¦ä¸æææå°ï¼è½ç¶MS-DOSå·²ç»ä¸å继ç»åå±äºï¼ä½å¹¶ä¸æå³çæ´ä¸ªDOSä¹ä¸å继ç»åå±äºãMS-DOSçæé«çæ¬æ¯8.0ï¼å å«å¨Windows MEä¸ï¼ï¼éåMicrosoftå¼å§å¼ååºäºWindows NTæ件çWindowsï¼ææäºçæ£ç¬ç«çæä½ç³»ç»ã
é¤äºMS-DOS以å¤ï¼å ¶å®çDOSä¹å¨åå±çãä»å¨ä¸æåå±åæ´æ°ä¸çDOSæFreeDOSãPTS-DOSãROM-DOSçï¼è¿äºDOSçåè½é½åå强大ï¼å¾å¾è¶ è¿MS-DOSï¼èä¸FreeDOSè¿æ¯å®å ¨å è´¹ä¸èªç±å¼æ¾çã
å æ¤ï¼ç¨åºå们å®å ¨å¯ä»¥ä¸ºå®ä»¬å¼åæ°çDOS软件ï¼èä¸å¿ ä¾èµäºMS-DOSãè¿å¤§æ¦æ¯å¹´ä»£æ«DOSçæ åµã
ç°ç¶ éåï¼ä¸é¡¹å«ä½âå¼æ¾æºä»£ç è¿å¨âçæ´»å¨å ´èµ·äºãå¾å¤ç¨åºåå使ç¨è åºäºå¯¹MicrosoftçWindows横è¡é¸éçä¸æ»¡ï¼ç¦»å¼äºWindowséµè¥ã
åè代ä¹çæ¯å ´èµ·äºå¯¹å ¶å®æä½ç³»ç»è½¯ä»¶çå¼åï¼å¦DOS,Linuxçãè¿ä¸ä¸è®¾è®¡åå¼åDOS软件çäººè¿ éå¢å ï¼å¹¶çº·çº·ç»æäºå¼åå¢ä½ï¼ä»¥å¼åæ°çDOSåå ¶å®éWindowsçæä½ç³»ç»ç软件ï¼è¯¦æ å¯è§ä¸ç¯å«ä½âDOSåLinuxè¿å¹´æ¥çåå±æ¯è¾âçæç« ã
ç±äºå¼åè çå¢å¤ï¼åå çDOS软件å¼åå¨ä¹å¼å§äºè¿ä¸æ¥çæ´æ°ï¼èä¸æ¯æFATåé¿æ件åãåå ä¸è¿æ¬¡å¼å软件çæ许å¤æ¯ç¨åºåä¸çç²¾è±ï¼æ以å¼ååºæ¥çDOS软件çè´¨éèªç¶æ¯ä»éææ¯äºã
æ¯å¦ï¼ç±äºAllegroçç¼ç¨åºçã
3.DOSå½ä»¤åDOSåå±çåå²DOS常ç¨å½ä»¤è¯¦è§£ dir åæ件å deltree å é¤ç®å½æ cls æ¸ å± cd æ¹åå½åç®å½ copy æ·è´æ件 diskcopy å¤å¶ç£ç del å é¤æ件 format æ ¼å¼åç£ç edit ææ¬ç¼è¾ mem æ¥çå åç¶åµ md 建ç«åç®å½ move 移å¨æ件ãæ¹ç®å½å more åå±æ¾ç¤º type æ¾ç¤ºæ件å 容 rd å é¤ç®å½ sys å¶ä½DOSç³»ç»ç ren æ¹åæ件å xcopy æ·è´ç®å½ä¸æ件 chkdsk æ£æ¥ç£ç attrib 设置æ件å±æ§ fdisk 硬çååº date æ¾ç¤ºåä¿®æ¹æ¥æ label 设置å·æ å· defrag ç£çç¢çæ´ç msd ç³»ç»æ£æµ path 设置æ寻ç®å½ share æä»¶å ±äº« memmakerå åä¼å管ç help å¸®å© restore æ¢å¤å¤ä»½æ件 set 设置ç¯å¢åé time æ¾ç¤ºåä¿®æ¹æ¶é´ tree åç®å½æ debug éæºè°è¯ç¨åº doskey éæ°è°ç¨DOSå½ä»¤ prempt 设置æ示符 undeleteæ¢å¤è¢«å çæ件 scandiskæ£æµãä¿®çç£ç ä¸å¸¸ç¨DOSå½ä»¤ diskpç£çæ¯è¾ append 设置éæ§è¡æä»¶è·¯å¾ expand è¿åDOSæ件 fasthelpå¿«éæ¾ç¤ºå¸®å©ä¿¡æ¯ fc æ件æ¯è¾ interinkå¯å¨æå¡å¨ setver 设置çæ¬ intersvrå¯å¨å®¢æ·æº subst è·¯å¾æ¿æ¢ qbasic Basicéæç¯å¢ vsafe é²ç æ¯ unformatæ¢å¤å·²æ ¼å¼åçç£ç ver æ¾ç¤ºDOSçæ¬å· *** artdrv设置ç£çå éå¨ vol æ¾ç¤ºç£çå·æ å· lh å°ç¨åºè£ å ¥é«ç«¯å å ctty æ¹åæ§å¶è®¾å¤ emm æ©å±å å管ç 常ç¨å½ä»¤å ·ä½ä»ç»ï¼ ä¸ãDir æ¾ç¤ºç®å½æ件ååç®å½å表ï¼åµåµï¼è¿ä¸ªå½ç¶æ¯äººäººè¦ç¥éçã
å¯ä»¥ä½¿ç¨éé 符ï¼ï¼ å *ï¼ï¼ï¼è¡¨éé ä¸ä¸ªå符ï¼*表éé ä»»æå符 *.åç¼ æå®è¦æ¥çåç¼çæ件ã ä¸é¢å ¶å®ä¹å¯ä»¥ä¸ºâ . åç¼âï¼ä¾å¦dir *.exe çäºdir .exe /p æ¯æ¬¡æ¾ç¤ºä¸ä¸ªå表å±å¹ã
è¦æ¥çä¸ä¸å±ï¼è¯·æé®çä¸çä»»æé®ã /w ä»¥å®½æ ¼å¼æ¾ç¤ºå表ï¼å¨æ¯ä¸è¡ä¸æå¤æ¾ç¤º 5 个æ件åæç®å½åã
/s ååºæå®ç®å½åææåç®å½ä¸åºç°çæ¯ä¸ªæå®çæ件åãæ¯winç¯å¢ä¸çæ¥æ¾å¿«å¤äº 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ã å ä¸å¯ç¨ã
尽管 Windows XP 没ææä¾è±¡ winipcfg å½ä»¤ä¸æ ·çå¾å½¢åçé¢ï¼ä½å¯ä»¥ä½¿ç¨âç½ç»è¿æ¥âæ¥çåæ´æ° IP å°åãè¦åå°è¿ä¸ç¹ï¼è¯·æå¼ ç½ç»è¿æ¥ï¼å³é®åå»æä¸ç½ç»è¿æ¥ï¼åå»âç¶æâï¼ç¶ååå»âæ¯æâé项å¡ã
该å½ä»¤æéç¨äºé 置为èªå¨è·å IP å°åç计ç®æºãå®ä½¿ç¨æ·å¯ä»¥ç¡®å®åªäº TCP/IP é ç½®å¼æ¯ç± DHCPãèªå¨ä¸ç¨ IP å°å ï¼APIPAï¼ åå ¶ä»é ç½®é ç½®çã
ä¸ãmd å建ç®å½æåç®å½ å «ãMove å°ä¸ä¸ªæå¤ä¸ªæ件ä»ä¸ä¸ªç®å½ç§»å¨å°æå®çç®å½ã ä¹ãNbtstat æ¾ç¤ºæ¬å°è®¡ç®æºåè¿ç¨è®¡ç®æºçåºäº TCP/IP (NetBT) åè®®ç NetBIOS ç»è®¡èµæãNetBIOS å称表å NetBIOS å称ç¼åã
Nbtstat å¯ä»¥å·æ° NetBIOS å称ç¼åå注åç Windows Inter å称æå¡ ï¼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 åè®®ï¼ã
使ç¨æ¶å¦æä¸å¸¦åæ°ï¼stat æ¾ç¤ºæ´»å¨ç TCP è¿æ¥ã -a æ¾ç¤ºæææ´»å¨ç TCP è¿æ¥ä»¥å计ç®æºä¾¦å¬ç TCP å UDP 端å£ã
åä¸ãPing éè¿åéâç½é æ¶æ¯æ§å¶åè®® ï¼ICMPï¼âåå请æ±æ¶æ¯æ¥éªè¯ä¸å¦ä¸å° TCP/IP 计ç®æºç IP 级è¿æ¥ãåååºçæ¶æ¯çæ¥æ¶æ åµå°åå¾è¿è¿ç¨ç次æ°ä¸èµ·æ¾ç¤ºåºæ¥ã
Ping æ¯ç¨äºæ£æµç½ç»è¿æ¥æ§ãå¯å°è¾¾æ§åå称解æççé¾é®é¢çä¸»è¦ TCP/IP å½ä»¤ãå¦æä¸å¸¦åæ°ï¼ping å°æ¾ç¤ºå¸®å©ã
å称åIpå°å解ææ¯å®çæç®ååºç¨ä¹æ¯ç¨çæå¤çã -t æå®å¨ä¸æå ping å¯ä»¥æç»åéåå请æ±ä¿¡æ¯å°ç®çå°ã
è¦ä¸æ并æ¾ç¤ºç»è®¡ä¿¡æ¯ï¼è¯·æ CTRL-BREAKãè¦ä¸æ并éåº pingï¼è¯·æ CTRL-Cã
-lSize æå®åéçåå请æ±æ¶æ¯ä¸âæ°æ®âå段çé¿åº¦ï¼ä»¥åè表示ï¼ãé»è®¤å¼ä¸º ã
size çæ大å¼æ¯ ,ã åäºãã
4.DOSçåå±åå²,ææ,åºæ¬åè½åæ±åå¤çDOSæ¯Disk Operation Systemï¼ç£çæä½ç³»ç»ï¼çç®ç§°ï¼æ¯~å¹´ç个人çµèä¸ä½¿ç¨çä¸ç§ä¸»è¦çæä½ç³»ç»ãç±äºæ©æçDOSç³»ç»æ¯ç±ä¸ºè½¯å ¬å¸ä¸ºIBMç个人çµèå¼åçï¼ç§°ä¸ºMS-DOSï¼å æ¤åæ¥å ¶ä»å ¬å¸ç产çä¸MS-DOSå ¼å®¹çæä½ç³»ç»ï¼ä¹å»¶ç¨äºè¿ä¸ªç§°å¼ï¼å¦PC-DOSãDR-DOSççã
å¹´ï¼MS-DOS 1.0åè¡ï¼ä½ä¸ºIBM PCçæä½ç³»ç»è¿è¡æç»åå®ï¼æ¯ækå ååkç5寸软çãå¨ç¡¬ä»¶æè´µï¼æä½ç³»ç»åºæ¬å±äºé硬件å¥éç年代ï¼è°ä¹æ²¡è½æ³å°ï¼å¾®è½¯å ¬å¸ç«ä¼ä»è¿ä¸ªä¸èµ·ç¼çåºå¤å¼å§å迹ã
å¹´ï¼æ¯æåé¢ç£çã
å¹´MS-DOS 2.0éIBM XTåå¸ï¼æ©å±äºå½ä»¤ï¼å¹¶å¼å§æ¯æ5M硬çãåå¹´åå¸ç2.对2.0çè¿è¡äºä¸äºbugä¿®æ£ã
å¹´ï¼MS-DOS 3.0å¢å äºå¯¹æ°çIBM ATæ¯æï¼å¹¶å¼å§å¯¹é¨åå±åç½åè½æä¾æ¯æã
å¹´ï¼MS-DOS 3.2 æ¯æäºK ç5寸软çã
å¹´ï¼MS-DOS 3.3 æ¯æäºIBM PS/2设å¤å1.Mç3寸软çï¼å¹¶æ¯æå ¶ä»è¯è¨çå符éã
å¹´ï¼MS-DOS 4.0 å¢å äºDOS Shell æä½ç¯å¢ï¼å¹¶ä¸æä¸äºå ¶ä»å¢å¼ºåè½åæ´æ°ã
å¹´ï¼MS-DOS 5.0åè¡ï¼å¢å äºDOS Shellåè½ï¼å¢å¼ºäºå å管çåå®åè½ã
å¹´ï¼MS-DOS 6.x å¢å äºå¾å¤GUIç¨åºï¼å¦ScandiskãDefragãM *** ackupçï¼å¢å äºç£çå缩åè½ï¼å¢å¼ºäºå¯¹Windows çæ¯æã
å¹´ï¼MS-DOS 7.0 å¢å äºé¿æ件åæ¯æãLBA大硬çæ¯æãè¿ä¸ªçæ¬çDOS并ä¸æ¯ç¬ç«åå®çï¼èæ¯å¨Windows ä¸å åµçãä¹åçMS-DOS 7.1å ¨é¢æ¯æFATååºã大硬çã大å åæ¯æçï¼å¯¹åä½å¹´ä»½æ¯æ解å³äºåå¹´è«é®é¢ã
å½å¹´çDOSçç¡®æ¯ä¸æç¬ç§ï¼å¨xä¸é²æç«äºè ãä¹åçwindows æ²åäºDOSç丧éï¼é£ä¹æ¯ä¸æ¯DOSå°±ççä»æ¤æ²å¯äºå¢ï¼
许å¤ç¨åºååºäºå¯¹Windowsçä¸æ»¡å对DOSå¼åçä»·å¼åæ½åçæ·±å»è®¤è¯ï¼ç»§ç»å¼åDOS软件ãç±äºå¨DOSæ¶ä»£çç¨åºå大å¤é½æ¯äºç²¾éç³»ç»åºå±ä¸æåæ±ç¼/Cçé«æï¼æç丰å¯çå¼åç»éªåç¼ç¨ååºï¼å æ¤ä»ä»¬å¼ååºçDOS软件çè´¨éä¹ç¸å½é«ã为äºå¼åæ´å¤ç软件并ä¸å¢å å¼åçæçï¼ä»ä»¬è®¾è®¡äºä¸ä¸ªåä¸ä¸ªDOS软件çå¼åå·¥å ·ãè½ç¶MS-DOSå·²ç»ä¸å继ç»åå±äºï¼ä½å¹¶ä¸æå³çæ´ä¸ªDOSä¹ä¸å继ç»åå±äºã
MS-DOSçæé«çæ¬æ¯8.0ï¼å®å¯ä»¥ç¨æ¥è¿è¡Windows 9xæMEï¼ï¼éåMicrosoftå¼å§å¼ååºäºèµ·æºäºOS/2çWindows NTæ件çWindowsï¼ææäºç¬ç«çæä½ç³»ç»ãèé¤äºMS-DOS以å¤ï¼å ¶å®çDOSä¹å¨åå±çãä»å¨ä¸æåå±åæ´æ°ä¸çDOSæFreeDOSãPTS-DOSãROM-DOSçï¼è¿äºDOSçåè½é½åå强大ï¼å¾å¾è¶ è¿MS-DOSï¼èä¸FreeDOSè¿æ¯å®å ¨å è´¹ä¸èªç±å¼æ¾ï¼åºäºGNU GPLåè®®ï¼çãå æ¤ï¼ç¨åºå们å®å ¨å¯ä»¥ä¸ºå®ä»¬å¼åæ°çDOS软件ï¼èä¸å¿ ä¾èµäºMS-DOSã
DOS代表çä»ä¹ï¼DOS代表çèªç±å¼æ¾ä¸åå±ãæ°çDOSæ¶ä»£çæ大ç¹ç¹å°±æ¯èªç±å¼æ¾çåå±ï¼å¯ä»¥ä¸å ¶å®æä½ç³»ç»ï¼å¦WindowsãLinuxçå ¶å®ç³»ç»åºå ±ååå±ãå ±åä¿è¿ï¼èåæèªå·±åå¨çéè¦ä»·å¼ï¼è¿æ ·ææ¯æç¾å¥½çãDOSæå¾å¤ç§ï¼ä¹æç强大çå½åååå±æ½åï¼ä¾å¦åºäºGNU GPLåè®®çFreeDOS就代表çå ¨æ°çDOSæ¶ä»£ââèªç±å¼æ¾çDOSæ¶ä»£çåå±æ¹åã