TIP: Click on subject to list as thread! ANSI
echo: os2
to: Linda Proulx
from: Jan Danielsson
date: 1999-11-04 14:59:23
subject: Question Again

 LP> What is a cmd file & what is the difference between it & an exe
 LP> file? 

There are two kinds of cmd-files.

1) command-scripts (in dos and windows you know these as .bat files)

--[test.cmd]---------
@echo off

mode 132,60

dir d:\*.dll /s /b > r:\all_dlls.list

pkzip /add /silence r:\dll_list r:\all_dlls.list
---------------------


2) rexx-scripts

If a .cmd-file starts with a 'rexx comment' it will be handled by the rexx
processor in OS/2.

--[test.cmd]--------
/* This is the rexx comment needed for OS/2 to understand that this is rexx */

say 'Hello'
--------------------


   Rexx is very powerful, please visit the echo os2rexx if you wish to learn
more about what you can do with it.


--- timEd/2 1.10
* Origin: Usch, det finns. (2:205/323)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.