Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: oemapp.bat: command line too long

Re: oemapp.bat: command line too long

From: TurkBear <john.greco_at_dot.state.mn.us>
Date: Wed, 22 Jan 2003 09:59:40 -0600
Message-ID: <dsft2vs9ct4sj7eakckpk3qkus1av14tu4@4ax.com>


If you have the original batch file check to be sure it ends with a CR/LF as the last entry.. If, for some reason, the file was copied from the cd badly perhaps the last part got 'lopped off' and the command processor never sees the EOF indicator..

"Dirk Schwarzmann" <Dirk.Schwarzmann_at_gmx.de> wrote:

>Rauf Sarwar wrote:
>> "Dirk Schwarzmann" <Dirk.Schwarzmann_at_gmx.de> wrote in message
>
>>> I only get a message saying "command line too long". I tried running
>>> it also in a
>>> DOS-Box with cmd.exe and command.com as the command processors,
>>> nothing worked.
>
>> Different command processors have different limitations on command
>> line. I believe Win9x has a limitaion of 255 which can be fixed by
>> using /E:??? switch... which BTW is used in oemapp.bat. Are you
>> launching this from Win9x or WinNT/2K/XP because I know command line
>> size is much bigger in NT/2K/XP. I launch 8i OEM console on Win2K via
>> oemapp.bat without any errors.
>
>thanks for your answer. I started it on a Windows 2000 machine. A
>collegue
>running the same configuration has no problems - strange.
>I know about differences between various command processors (that´s why
>I tested both, command.com and cmd.exe) with no luck.
>In the meantime I found a work-around:
>In the last line of the batch file where the jre is started, I deleted
>the parameter
>for compatibility with 8.1.6. Although these are only about 20
>characters, it
>seems the command line is now short enough to be processed correctly.
>But it leaves a bad taste in my mouth: maybe I need this parameter?
>
>The better solution would be to extend the capability of the command
>line
>but I don´t know how. The /E:???? switch in the batch is only used in
>case
>it is running under Win9x but I forced using it on my system - no luck.
>
>For the time being, I have not encountered any problems with my
>work-around.
>
>Thanks for your help,
>Dirk
>--?
>1234567890123456789012345678901234567890123456789012345678901234567890
>http://www.dirk-schwarzmann.de/
>"Wenn man nur einen Hammer hat, sieht plötzlich jedes Problem wie ein
>Nagel aus." (Matthias Esken in de.comm.infosystems.www.authoring.misc)
>
Received on Wed Jan 22 2003 - 09:59:40 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US