.bat一問!

2007-07-09 4:20 am
點樣將.bat轉.exe呀,或將.bat可以轉到圖案呢?
急!!!

回答 (2)

2007-07-18 3:26 am
✔ 最佳答案
we cannot bat. file to exe. file or vice versa, coz. they are different types of files:

In MS-DOS, OS/2, and Windows, a batch file is a text file containing a series of commands intended to be executed by the command interpreter. When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line. A batch file is analogous to a shell script in Unix-like operating systems.

Batch files are useful for running a series of executables automatically. Many system administrators use them to automate tedious processes. Although batch files support elementary program flow commands such as if and goto, they are not well-suited for general-purpose programming.

DOS batch files have the filename extension .BAT. Batch files for other environments may have different extensions, e.g. .CMD in Windows NT and OS/2, or .BTM in 4DOS and related shells.

and

EXE is the common filename extension for denoting an executable file (a program) in the OpenVMS, DOS, Microsoft Windows, and OS/2 operating systems.

In Microsoft Windows, a user can expect that double-clicking on an exe file will open a program, unless it is incompatible or broken. This is useful in avoiding computer viruses. If a user receives a file that claims to be a picture or document, but it has the ".exe" extension, it is likely to be a virus or Trojan horse that the sender is trying to trick them into running. This does not mean that all .exe files are viruses or trojans, just that many viruses and trojans are .exe files.

2007-07-22 08:40:00 補充:
cannot change to and vice versa......
參考: internet searches
2007-07-22 11:42 am
呢個程式可以將 DOS 的 .BAT 檔 轉做 .COM 檔:

http://www.wieringsoftware.nl/utils/batchcom.zip

再用呢個程式將 .COM 檔轉做 .EXE 檔:

http://files.chatnfiles.com/Hall%20Of%20Fame/DOS/COMTOEXE.EXE


收錄日期: 2021-04-12 20:07:39
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070708000051KK03825

檢視 Wayback Machine 備份