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: Dirk Schwarzmann <Dirk.Schwarzmann_at_gmx.de>
Date: Wed, 22 Jan 2003 10:35:30 +0100
Message-ID: <b0log2$r062c$1@ID-93128.news.dfncis.de>


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 (thats 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 dont 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 pltzlich jedes Problem wie ein Nagel aus." (Matthias Esken in de.comm.infosystems.www.authoring.misc) Received on Wed Jan 22 2003 - 03:35:30 CST

Original text of this message

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