Click here to Skip to main content
15,922,533 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net book Pin
Neeraj Arora27-Aug-06 18:00
Neeraj Arora27-Aug-06 18:00 
QuestionHi Pin
chetumanoj27-Aug-06 4:07
chetumanoj27-Aug-06 4:07 
AnswerRe: Useless subject Pin
Guffa27-Aug-06 4:23
Guffa27-Aug-06 4:23 
Questionproblem with namespace to message.innerhtml Pin
raquidd2227-Aug-06 2:15
raquidd2227-Aug-06 2:15 
AnswerRe: problem with namespace to message.innerhtml Pin
_AK_28-Aug-06 1:21
_AK_28-Aug-06 1:21 
QuestionFormatting Headers in a datagrid Pin
raulstein27-Aug-06 1:39
raulstein27-Aug-06 1:39 
AnswerRe: Formatting Headers in a datagrid Pin
_AK_28-Aug-06 1:19
_AK_28-Aug-06 1:19 
Questionhow to start a shell command from .NET web app [modified] Pin
Kishore G Nair27-Aug-06 0:01
Kishore G Nair27-Aug-06 0:01 
Hi I am Kishore, a QA Consultant and a part time .Net developer.

The scenario is in a web application (ASP.Net and C#)

I am trying to connect to clearcase and get some data, for this i need to invoke the cmd process and pass the command which gets the data from clearcase view.
As it didnt worked, i tried this to make sure it will work
I added windows dll for reference, then checked the following command

System.Diagnostics.Process.Start("cmd.exe");
It works but, the cmd is just running on the background. I am getting in the task manager process list.

I run the same command from a windows application - System.Diagnostics.Process.Start("cmd.exe");
from a windows application
a new command window is opend

So is it possible to do some shell commands invoked from a web application, and if so how,
pls consider this thing for example

System.Diagnostics.Process.Start("cmd.exe /C rename c:\1.txt 11.txt");

If i give this statement, i will get an exception in both windows as well as a web application.

But if i try from Start Windows-> Run - cmd.exe /C rename c:\1.txt 11.txt
it will work; it will rename the file

So how is it possible to do this directly from a web application.





I will be really grateful if you could help me out.
Thanks


-- modified at 6:08 Sunday 27th August, 2006

Nair

QuestionJavaScript Pin
kjosh26-Aug-06 15:24
kjosh26-Aug-06 15:24 
AnswerRe: JavaScript Pin
_AK_27-Aug-06 19:21
_AK_27-Aug-06 19:21 
Questionhow to custome columes in datagrid [modified] Pin
smr8526-Aug-06 13:46
smr8526-Aug-06 13:46 
AnswerRe: how to custome columes in datagrid Pin
_AK_27-Aug-06 19:23
_AK_27-Aug-06 19:23 
Questionproblem with datset Pin
raquidd2226-Aug-06 11:59
raquidd2226-Aug-06 11:59 
QuestionUpload Project In ASPNET2 Pin
morteza5726-Aug-06 11:48
morteza5726-Aug-06 11:48 
QuestionDateTime Pin
TheEagle26-Aug-06 6:12
TheEagle26-Aug-06 6:12 
AnswerRe: DateTime Pin
Guffa26-Aug-06 6:48
Guffa26-Aug-06 6:48 
GeneralRe: DateTime Pin
TheEagle26-Aug-06 7:15
TheEagle26-Aug-06 7:15 
Questioncontroling two ASP.NET pages Pin
NaNg1524126-Aug-06 5:31
NaNg1524126-Aug-06 5:31 
AnswerRe: controling two ASP.NET pages Pin
Guffa26-Aug-06 5:49
Guffa26-Aug-06 5:49 
GeneralRe: controling two ASP.NET pages Pin
NaNg1524126-Aug-06 6:01
NaNg1524126-Aug-06 6:01 
Questionviewing pdf files Pin
248912826-Aug-06 4:58
248912826-Aug-06 4:58 
AnswerRe: viewing pdf files Pin
Jakob Farian Krarup26-Aug-06 8:02
Jakob Farian Krarup26-Aug-06 8:02 
QuestionMVC / MVP Design Patterns Pin
TheEagle26-Aug-06 4:05
TheEagle26-Aug-06 4:05 
AnswerRe: MVC / MVP Design Patterns Pin
Colin Angus Mackay26-Aug-06 6:15
Colin Angus Mackay26-Aug-06 6:15 
GeneralRe: MVC / MVP Design Patterns Pin
TheEagle26-Aug-06 7:26
TheEagle26-Aug-06 7:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.