C#.net call command prompt

  • Thread starter Thread starter jam
  • Start date Start date
J

jam

hi all,

I am calling some command from cmd.exe and doing it in server side, while it
is executing, i only see the white page and it''s loading now, can I have
something on the page like: loading.... and then once it finish, change to :
"finished"??? is it possible??
My code example:
p.StandardInput.WriteLine("xcopy d:\\inetpub\\wwwroot\\eng\\images
d:\\images");

then while it is copying, can I have "loading..." ??

Jam

thx all
 
create a back ground thread that writes
"Loading ."
then have it write "." on a timer.
start thread before your operation and stop thread when ur operation has
finished.

brian.
 
thx, I will try!~
Brian Keating EI9FXB said:
create a back ground thread that writes
"Loading ."
then have it write "." on a timer.
start thread before your operation and stop thread when ur operation has
finished.

brian.
 
Sorry I am a newbie on c#< would you mind telling me how to create a back
ground thread?? I am writing a web page by the way~
 
Back
Top