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)?
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
精彩评论