I wrote a simple .bat file on Windows XP which calls Java. I converted
it to an execeutable using one of batch to exe converter. When I hit
Ctrl-C, it asks me
Terminate batch job (Y/N)?
When I say enter Y, it says it is not recognized, see below:
Terminate batch job (Y/N)? Y
'Y' is not recognized as an internal or external command,
operable program or batch file.
If I hit enter key again, it asks same question again. The only way
out is to hit Ctrl C again.
Does anyone know what is going on here?
Thanks for any help
Vissu
My guess is that it is just another reason for not converting to EXE
format, along with the other loses of functionality for essentially no
benefit.
alt.msdos.batch (for real DOS) and alt.msdos.batch.nt (for NT and later)
are the appropriate groups for batch questions. Whenever a batch to EXE
conversion question is asked, the standard reply is to get rid of the
converter since they ae essentially worthless.
--
T.E.D. (tda...@mst.edu)
Find a better batch to exe converter, create a y.bat file, or use a Java
compiler to create an exe.
> On Thu, 03 Dec 2009 18:59:56 -0800, vis...@yahoo.com wrote:
> > I wrote a simple .bat file on Windows XP which calls Java. I converted it
> > to an execeutable using one of batch to exe converter. When I hit Ctrl-C,
> > it asks me
> >
> > Terminate batch job (Y/N)?
> >
> > When I say enter Y, it says it is not recognized, see below:
> >
> > Terminate batch job (Y/N)? Y
> > 'Y' is not recognized as an internal or external command, operable program
> > or batch file.
> >
> > If I hit enter key again, it asks same question again. The only way out is
> > to hit Ctrl C again.
> >
> > Does anyone know what is going on here?
*** I'd say it's because an EXE is not a BAT file and so the `Y' is not
recognised when it is attempted to be passed back to the now non-existent
batch file.
> My guess is that it is just another reason for not converting to EXE
> format, along with the other loses of functionality for essentially no
> benefit.
*** That has been my experience, too, Ted.
> alt.msdos.batch (for real DOS) and alt.msdos.batch.nt (for NT and later)
> are the appropriate groups for batch questions. Whenever a batch to EXE
> conversion question is asked, the standard reply is to get rid of the
> converter since they ae essentially worthless.
> --
> T.E.D. (tda...@mst.edu)
*** I assume at least one reason for conversion was to prevent users
from toying with the batch code.
--
Richard Bonner
http://www.chebucto.ca/~ak621/DOS/