By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,190 Members | 2,204 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,190 IT Pros & Developers. It's quick & easy.

Process StartInfo

P: n/a
Hi...any body know what the max string length size
when using
Process.StartInfo.Arguments

Example
Process.StartInfo.FileName = "Wzzip.exe"
Process.StartInfo.Arguments = "d:\somefolder\myzip.zip -b
d:\work"+threadid.tostring()+" "+Path_File1+" "+Path_File2+" " etc more
files with embedded paths

I want to do this in 1 Pass..that is why i am not zipping one File at a time

Tks

Dec 12 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
According to C# 2.0 help for ProcessStartInfo class:
public string Arguments { get; set; }The maximum string length is 2,003
characters in .NET Framework applications and 488 characters in .NET Compact
Framework applications.

Michael

"Analizer1" <dv*****@sbcglobal.netwrote in message
news:PD****************@newssvr22.news.prodigy.net ...
Hi...any body know what the max string length size
when using
Process.StartInfo.Arguments

Example
Process.StartInfo.FileName = "Wzzip.exe"
Process.StartInfo.Arguments = "d:\somefolder\myzip.zip -b
d:\work"+threadid.tostring()+" "+Path_File1+" "+Path_File2+" " etc more
files with embedded paths

I want to do this in 1 Pass..that is why i am not zipping one File at a
time

Tks

Dec 12 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.