You would be so many aeons better off setting up a SSH or telnet server and connecting directly. But yes, there's no reason why you can't run things and get their output over the http.
Main Topics
Browse All TopicsIn my Production enviornment I Have a shareporint server and there is a web application that acts as an interface between sharepoint and users.
Can I Acess the commandprompt of the sharepoint server using my c# webapplication .All are hosted within a Lan
Any help will be greatly appreciated
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: ethothsPosted on 2007-01-08 at 04:05:06ID: 18266120
Yes you can. The code that you write in your C# web application has the same functionallity as code you write in a C# windows application. The only issue you will have is the security context that the web app runs in. Usually a web app is not given permission the write files to the file system and is not given permission to run exe files. However, you can override these if you wish. Just be very careful that you do not open up a huge security hole.