Process StartInfo

  • Thread starter Thread starter Analizer1
  • Start date Start date
A

Analizer1

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top