comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: SPAWN command bug
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SPAWN command bug [message #25306] Mon, 28 May 2001 20:45 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
LUH WILLIAM <luhw@ecf.utoronto.ca> writes:

> Hi, I'm having trouble with using really long commands with spawn. Here's
> an example:
>
> strCommand = '"c:\program files\spectral\spec.exe" ' + $
> string(x) + ' ' + string(y) + ' "' + strOutput + '"'
>
> where x = 25, y = 25 for example
>
> Now call Spawn, strCommand:
... remainder deleted...

Isn't there a limit to the number of characters in a DOS command? I
thought it was 127 or 128. This implies that no matter what you do,
you won't be able to execute a long command even to COMMAND.COM.
when you type it to a COMMAND.COM window?

Even if this limit has been enhanced under Win Me/9x, it's possible
that IDL is using some older, more limited version of the interface.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: Re: how to set path?
Next Topic: Re: process comunication

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:04:21 PDT 2025

Total time taken to generate the page: 0.00382 seconds