On Fri, 14 Sep 2001 21:22:41 +0200 (CEST), [EMAIL PROTECTED] (Richard Menedetter)
wrote:

<snip>

> try to add a @ as the first char of your bat.

OK, I did that.

> it will not echo the name of the program, but the error message will
> remain.
> Simply because the @ means that command.com should not echo back the
> command.

Now the screen capture of the output looks like this:

-----------------------------------
D:\TEST>dr
Command or filename not recognized

D:\TEST>DIRMAGIC (C) Copr. 1988 ZD Co
Command or filename not recognized

D:\TEST>Michael J. Mefford
Command or filename not recognized
D:\TEST>

------------------------------------

It appears that command.com tried three times to execute
the program.  Each time an error message was returned by
command.com.  The first two lines of DR.BAT were output to
the screen, not just the first line.  So, it appears to me
that some parts of the program actually ran.  They did run,
although with some problems and difficulty.

When the file is renamed to DR.COM, and the "@" in the first
character is removed, the program output looks like this:

--------------------------------------

    Directory of D:\TEST                      ��������������������������������ͻ
                                              �    PC COMPUTING �� DIRMAGIC    �
 ..           <DIR>      9-14-01   4:11p      �(C) 1988 ZD � Michael J. Mefford�
 DR       COM     8564  12-03-90   6:49a A    ��������������������������������͹
 TEST     TXT     2054   9-14-01   4:21p A    � F1  Copy         F2  Delete    �
                                              � F3  Rename       F4  Move      �
                                              � F5  Clear marks  F6  Mark all  �
                                              � F7  Sort Name    F8  Sort Ext. �
                                              � F9  Sort Size    F10 Sort daTe �
                                              ��������������������������������Ķ
                                              �                                �
                                              �                                �
                                              ��������������������������������Ķ
                                              � ��When combined with Alt key�� �
                                              � F1 Copy/V   ON  F2 Confirm  ON �
                                              � F3 Protect  ON  F4 Sort   (A) �
                                              � F5 Highbit OFF  F6 Attributes  �
                                              � F7 File search  F8 New path    �
                                              ��������������������������������Ķ
                                              � �� View file, or CHDIR + exit �
                                              � String commands: F=Find L=Next �
                                              � Ctrl �� Run file, or Load Dir �
                                              � Shift Ctrl �� Run then pause  �
                                              � +/-  Mark/Unmark   Esc to Exit �
        2 File(s)  28236800 bytes free        ��������������������������������ͼ
------------------------------

Sam Heywood
-- See our Big Gizmotimetemp at
-- http://banners.wunderground.com/banner/gizmotimetempbig/US/VA/Mt_Jackson.gif

Reply via email to