C#

AA,

My project is to:

  1. copy a file which is an .exe (like zip to extract files inside) from one network drive to our working drive on network.
  2. Create necessary folders in the working drive.
  3. Open/run the .exe file to expand the files.
  4. Delete the .exe from the working directory.
  5. Open the working directory folder in windows explorer.

All of the above steps are done (or i know how to do them) except for #3. What happens is when i try to execute/run the .exe programmatically, it saves the extracted files in “C:\Documents and Settings...\My Documents\Visual Studio 2005\Projects......\bin\Debug” folder. However, i would like to extract the files in my working directory which is in "D:".

Does anyone know what i need to change the path to D:\ from C:.…?

snippet:
String myFolder = “D:”;
String myFile = “test.exe”;
Process proc = new Process();
proc.StartInfo.FileName = myFolder+ @"" + myFile;
proc.Start();

Any help is much appreciated…
Guppie

Re: C#

Dirty post. I wont help.
You cant even compose a message that is readable.

Re: C#

no prob dear:)

so what if u can compose well but he is a new guppy ,Ihtesham you better encourage him and just tell him the problem,i know you can compose well.Apnah bhai ko koi is tarah to nahi keh ta, Us ko phayaar se be samajaha ja sakhta hai hmmmmmmmmm

Ihtesham dude aisa nahi kaha Jata :) kisi ko ,i hope you dont mind.

Re: C#

so nobody ever refused to read my message

anyway
I am very truthful. cannot change that.

good day