Hi Linda,
LP> What is a cmd file & what is the difference between it & an exe file?
A .CMD file is the OS/2 version of a .BAT file, however there are a number of
enhancements to be aware of -
1. If you try and run a .BAT file from an OS/2 prompt, it will open a DOS
window and run the .BAT file in the DOS window.
2. A .CMD file can contain pretty much the same statements as a .BAT file
(with quite a few extras as well), however it will run in an OS/2 session. If
the .CMD file contains statements that execute programs, then OS/2 will
attempt to run them as OS/2 programs, however if it detects them as DOS
programs, then it will open a DOS window to run them there.
3. A .CMD file can also be a REXX Command file. If the FIRST line of a .CMD
file is a REXX Comment line similar to this -
/* This is a REXX comment line. */
(note that the leading / character MUST start in column 1), then it will treat
the .CMD file as a REXX program and try to run it as one.
Regards..........pk.
--- Maximus/2 3.01
* Origin: Another Good Point About OS/2 (3:772/1.10)
|