|
-
Feb 9th, 2004, 06:03 PM
#1
whats the limit for commandline arguments?
I'm dragging a lot of files to my app's exe file and it's supposed to open them. I tried to drag 1700 files at the same time and dropped them on my app's exe, but windows gave me an error and said that it can not find my app. I tried this same thing with some other random programs and got the same error message. So I'm wondering, what's the limit to the number of files you can pass as commandline arguments to a program? I'm gussing windows puts a limitation on this
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Feb 9th, 2004, 06:24 PM
#2
hmm weird I cant do it with more than 23 files
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Feb 10th, 2004, 03:17 PM
#3
Member
Environment / CreateProcess limit is 32767 characters - which is the one I'd think applies in your case.
NT DOS (cmd.exe) command line is limited to 8192
Old 'DOS' was 127 i think.
I may be wrong though!
23 files seems a tad small to be hitting the above limit though.
-
Feb 10th, 2004, 07:12 PM
#4
Originally posted by McBain2
Environment / CreateProcess limit is 32767 characters - which is the one I'd think applies in your case.
NT DOS (cmd.exe) command line is limited to 8192
Old 'DOS' was 127 i think.
I may be wrong though!
23 files seems a tad small to be hitting the above limit though.
hmm thanks
well the files all have really long names. I didnt know there was even a limit
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Feb 11th, 2004, 07:18 AM
#5
Frenzied Member
have you tried doing one file, then two files, then 3 files yadda yadda? seems tedious but it would be a sure-fire way to see if there's one file in particular clogging your system so-to-say.
-
Feb 11th, 2004, 12:55 PM
#6
Originally posted by thephantom
have you tried doing one file, then two files, then 3 files yadda yadda? seems tedious but it would be a sure-fire way to see if there's one file in particular clogging your system so-to-say.
yeah stopped working at 23
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|