473,396 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

C#.net call command prompt

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
Nov 16 '05 #1
3 5776
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.

"jam" wrote:
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

Nov 16 '05 #2
jam
thx, I will try!~
"Brian Keating EI9FXB" <csharp at briankeating.net> ¦b¶l¥ó
news:06**********************************@microsof t.com ¤¤¼¶¼g...
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.

"jam" wrote:
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

Nov 16 '05 #3
jam
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~
"Brian Keating EI9FXB" <csharp at briankeating.net> ¦b¶l¥ó
news:06**********************************@microsof t.com ¤¤¼¶¼g...
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.

"jam" wrote:
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

Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: msuk | last post by:
All, I am trying to use Regasm from the command prompt and have to keep putting the full file path of where my assembley is located. Does anyone know how to set it up so wherever I run the...
3
by: Rog | last post by:
Yes, I am guessing that typing cmd in the run windows will bring up the command prompt, but not the vs.net command prompt. Is there a switch(s) for accessing the vs.net command prompt? Or...
4
by: glenn | last post by:
I keep reading all sorts of books on VS that keep telling me to click on Tools/Visual Studio Command prompt to run this program or that program. However, I do not have such a menu choice. Where is...
4
by: Thomas Johnson | last post by:
I am trying to find out how to access the VS 2003 .Net command prompt. I am trying to execute the 'csc' command against a module but have no idea where to find the command prompt. Here's a stupid...
6
by: Jwolf | last post by:
I have .net 2002 edu version and when it installed there was a shortcut to the .net command prompt. My CLR disk is scratched so I can't reinstall and so I just downloaded express. I dont know...
2
by: tonytony24 | last post by:
Hi All: I was wondering if there's a simple way to call a MS Access Module through either Command Prompt MS Script any other way... Thanks for the response.
9
by: Endless Story | last post by:
My last version of Python was 2.4, running smoothly on XP with path c: \Python24 - no need even to include this path in PATH; everything worked as it's supposed to at the command line. Just...
4
by: Peter Nimmo | last post by:
Hi, I am writting a windows application that I want to be able to act as if it where a Console application in certain circumstances, such as error logging. Whilst I have nearly got it, it...
3
by: kimiraikkonen | last post by:
Hi experts, I just want to ask a simple procedure of my simple form. My form has a input textbox and a button. I want this if you can help me: Application user types a command prompt command...
7
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.