Re: [E - 19 to 20 May 1998 (#1998-7)] Command Line Length
- Posted by Terry Constant <constant at FLASH.NET> May 22, 1998
- 698 views
Jeff, Thanks for the reply. Two things. 1. For the information to be in CMDLINE, the information has to be on the command line that calls the Euphoria program. When this command line gets bigger than 128, Euphoria crashes. There is not a way to get the long line in CMDLINE without crashing the Euphoria program. 2. However, you sparked an idea in me. I could assign the arguments of a long command line to any variable I choose. But then I would have to parse the line instead of it already being in a nice and neat sequence for me. All in all, I could do it, but this is a real kludge work around. But, if all else fails, this idea that you sparked would work. Jeff Zeitlin wrote: > > On Thu, 21 May 1998 00:00:17 -0400, Terry Constant > <constant at FLASH.NET> wrote: > > >4Dos allows a command-line length of 255 characters, 511 after expansion > >of environment variables. > > >Apparently Euphoria limits the command-line to the Dos length of 128. > > >I need to use the longer 4Dos command-line. Is there a way around this > >limitation in Euphoria? > > Read the environment variable CMDLINE, rather than using the > Euphoria function command_line(). > > >If not, would it be possible to lengthen the command-line that Euphoria > >accepts in a future (fairly soon I hope) update/release? > > I think this should be done under any circumstances. > -- > Jeff Zeitlin > jeff.zeitlin at mail.execnet.com -- Terry Constant constant at flash.net