Sounds like it needs a command answering to continue, or running from a
process it doesn't have the same rights as you do when you run it. Try
running it as a scheduled job using task scheduler, giving your credentials
and see if it works, if it does you probably need to overload proces.start
with credentials
http://msdn2.microsoft.com/en-us/library/sxf2saat.aspx
Regards
John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com http://www.johntimney.com/blog
"bjm" <cy**********@hotmail.comwrote in message
news:11*********************@f1g2000cwa.googlegrou ps.com...
>I created a self extracting zip file with about 9000 files in it. I
extracted it manually from the command line without a problem.
However, when I tried to do the same extraction at the same location
with the same arguments (using the Process class), a command prompt
opens, and it begins extracting files. After about 70 files have been
extracted, the main form for my application loses focus and I get an
hourglass cursor (which is normal, I expect that to happen in the
background while processes continue running in the foreground, this is
what happened for my other processes I've run with the Process class).
At the time that that occurs, the extraction hangs. It doesn't return
or print any errors, it just stops extracting and sits there
indefinitly. Does anyone have any ideas why this would happen?