argument list too long errors 
Author Message
 argument list too long errors

Hello

I am running a script that takes arguments (via drag and drop). on w2k it
runs just fine, but on NT4 it generates an 'argument list too long' error
when there are more than 8 files dropped. Any one know how to work around
this bug? Thank you

Direct emails appreciated



Sat, 14 Sep 2002 03:00:00 GMT  
 argument list too long errors
I suppose it has something to do with the lenght
of the command line (maybe there is a limit up
to 128 characters). Then the number of arguments
processeable depends on your path-lenght.

G. Born

Check out the WSH Bazaar at:

www.borncity.de

Yan Pritzker schrieb in Nachricht ...

Quote:
>Hello

>I am running a script that takes arguments (via drag and drop). on w2k it
>runs just fine, but on NT4 it generates an 'argument list too long' error
>when there are more than 8 files dropped. Any one know how to work around
>this bug? Thank you

>Direct emails appreciated




Sun, 15 Sep 2002 03:00:00 GMT  
 argument list too long errors

Exactly correct. I've worked long and hard to find a way around this
limitation, but I haven't been successful yet. If we ever find a way to get
around it, we'll fix it, but otherwise, it's an OS limitation that we're
stuck with. Sorry, but I don't know of any workarounds, besides trying to
shorten the path to the files, or putting them all in one directory and then
dragging the directory onto the script and using that to find the files.

Mike Whalen
Windows Script Dev


Quote:
> I suppose it has something to do with the lenght
> of the command line (maybe there is a limit up
> to 128 characters). Then the number of arguments
> processeable depends on your path-lenght.

> G. Born

> Check out the WSH Bazaar at:

> www.borncity.de

> Yan Pritzker schrieb in Nachricht ...
> >Hello

> >I am running a script that takes arguments (via drag and drop). on w2k it
> >runs just fine, but on NT4 it generates an 'argument list too long' error
> >when there are more than 8 files dropped. Any one know how to work around
> >this bug? Thank you

> >Direct emails appreciated




Sun, 15 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Unable to execute - arguments list is too long

2. Unable to execute - arguments list is too long

3. unable to execute - arguments list is too long...

4. registry %1 argument and short/long path names

5. Question on adding a long list of numbers?

6. function argument list...

7. variable size argument list in vbs?

8. Question on the Function Argument List

9. variable argument list?

10. Arguments list.

11. IIS4 No Longer Shows Error Messages In ASP Pages or COM Objects

12. HP Deskjet 1600CM gives timeout ERROR [long]

 

 
Powered by phpBB® Forum Software