I'm having trouble executing a small BAT (or CMD) file used to 1) search =
the Buckmaster file, 2) search the GOlist and 3) search a listing of IBM =
hams.  The file always worked OK under previous operating systems and =
various levels of DX4WIN.

The BAT file is supposed to copy search results (from a GREP program) to =
two files, then copy those files to MANAGER.RES, where they should be =
displayed by DX4WIN in the Callsign/Mgr Lookup window.  Instead, =
MANAGER.RES gets filled with the contents of the BAT file!

If I execute the BAT file outside of DX4WIN it works fine.

Here is the file:

ECHO ON
GOLIST.EXE %1>TMPQSL1.TXT
FGREP.COM %1 WWHAM.TXT>TMPQSL2.TXT
COPY TMPQSL*.TXT MANAGER.RES

And here is what appears in MANAGER.RES:

C:\HAM\DX4W503\EXTDATA>ECHO ON=20
C:\HAM\DX4W503\EXTDATA>GOLIST.EXE 6V1A 1>TMPQSL1.TXT=20
C:\HAM\DX4W503\EXTDATA>FGREP.COM 6V1A WWHAM.TXT 1>TMPQSL2.TXT=20
C:\HAM\DX4W503\EXTDATA>COPY TMPQSL*.TXT MANAGER.RES=20
tmpqsl1.txt
        0 file(s) copied.

Here is what I get when executed in a DOS window:


C:\Ham\dx4w503\extdata>FGREP.COM 6v1a WWHAM.TXT 1>TMPQSL2.TXT
fgrep386 1.84 (C) Copr. 1985-1995,1997 by Chris Dunford, All Rights =
Reserved.

C:\Ham\dx4w503\extdata>COPY TMPQSL*.TXT MANAGER.RES
tmpqsl1.txt
tmpqsl2.txt
        1 file(s) copied.
C:\Ham\dx4w503\extdata>

And, here's what's in MANAGER.RES:

           The GOLIST, QSL Manager List, Issue 251, 01-MARCH-2001
     __________________________________________________________________
            Type  ?  at any time for information about this program.
         Please send any UPDATES or NEW DATA to K1XN at: =
[EMAIL PROTECTED]
      __________________________________________________________________

 6V1A is via 6W6JX.
**File C:\Ham\dx4w503\extdata\WWHAM.TXT
C:\Ham\dx4w503\extdata>


Any thoughts appreciated.

John, K2CIB


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

Reply via email to