| 1. |
Solve : What Comes Up When Run Is Typed. .Exe or .Com. Why? |
|
Answer» Hi. Just improving my somewhat limited knowledge. What Comes Up When Run Is Typed at the DOS prompt. Run.Exe or Run.Com. And why. Appreciate an answer as I am undertaking a course to IMPROVE my cyber IQ. For real-mode DOS or Win 9x, and I think 2000, the .COM file would take precedence. Why? Oh, and to answer your other question about precedence ... I think the answer is just because that Bill Gates (Microsoft) decided it should be that way. http://support.microsoft.com/kb/35284 Quote What Comes Up When Run Is Typed. .Exe or .Com. Why As pointed out, the order of precidence is established by Code: [Select]echo %pathext% .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH Why did they choose this particular order rather than another? I don't know if they documented that debate. I do know that some programs, like BASICA had both a COM and EXE. If you typed BASICA, the COM would get control and then call the EXE. If you removed the COM, then the EXE worked fine anyway. I never understood what the DEAL was. But the point is that EXE files tend never to call COM because anything you could do in a COM could easily be added to the EXE. But not vv. Mac Thankyou both. . com it is. It was a question in an IT test that I had to send in to be marked. Fanks. Zipcool |
|