J.F. Kelley said:
Thank you, but that was the first thing I tried. I have
a "Command Prompt.lnk" icon on my desktop. I have used
the manual options to make that a 60-line window. When I
double-click that lnk icon, I get what I want.
However, when I create a batch file that says:
START "c:\Documents and Settings\myid\Desktop\Command
Prompt.lnk"
It starts a command prompt with the default layout. If I
just name the lnk file, it runs in the current window
(i.e., doesn't start a new window).
OK, have you tried making *.PIF files instead of *.LNK files
and starting the *.PIF file for each DOS app?
Here's an actual example from my system:
===== begin file c:\CMD\TEST\HEXTABLE.CMD =====
1. @echo off
2. echo >c:\batch\autowyl.bat @echo off
3. echo>>c:\batch\autowyl.bat c:\wylbur\wylbur.exe /A 8192 /D /E c:\wylbur\ntlib\cmdinit.wyl parm="c:\wylbur\tlib\makehtb1.wyl"
4. start c:\cmd\util\NT2WYL~1.PIF
5. goto :EOF
6. :EOF
===== end file c:\CMD\TEST\HEXTABLE.CMD =====
The preceding creates c:\batch\autowyl.bat (with the detailed information
to pass to wylbur.exe, in this case, telling wylbur what file to execute
[c:\wylbur\tlib\makehtb1.wyl, which displays a table on the screen of the
hex values of *all* characters from 0 to 255, screen print upon request)
and then invokes the 'DOS' application (wylbur.exe) by STARTING the PIF
file c:\cmd\util\NT2Wylbur.PIF, which in turn invokes the just-created
c:\batch\autowyl.bat, which in turn launches wylbur.exe and tells it what
wylbur exec program (equivalent to a batch file) it is supposed to execute.
So, at the CMD prompt, I type 'hextable', which causes another 'DOS'
window to open, displaying the hex table along with the message