Is it possible to make a Command Prompt shell, that is accessible over the Internet? So a user could run command prompt online (that still affects their computer)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Directly? No. However, you could provide an interface to the command line by writing a custom application that took commands and then sent them as system commands.
Even if you could expose your command prompt to the Internet, you wouldn’t want to. It would be a massive security issue for you. You want to validate commands and the person sending the commands before you allow the commands to be executed.
For how to actually execute commands from C#, here is a forum that has more information:
http://forums.asp.net/t/1222442.aspx/1?how+to+run+command+prompt+commands+from+c+programming