tehon3299 Posted February 15, 2003 Posted February 15, 2003 I am wondering how to fire DOS Commands from an ASPX page? What would the syntax to like ping or something? Thanks Quote Thanks, Tehon
*Experts* Bucky Posted February 15, 2003 *Experts* Posted February 15, 2003 Dim command As String = "ping 192.168.1.1" System.Diagnostics.Process.Start(command) Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
*Gurus* divil Posted February 15, 2003 *Gurus* Posted February 15, 2003 Don't confuse DOS commands with win32 console applications :) And if you want to ping something, you can do it from right within .net. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
*Gurus* Derek Stone Posted February 16, 2003 *Gurus* Posted February 16, 2003 you can do it from right within .net Not that easily, however. Takes a few dozen lines of code, at best. Of course you can head over to Google and find a class that does it for you, but hey, most people can't even find their car keys, nevermind something on the *gasp* internet. One of us should put a ping class on the list of things to add to the Code Library. Quote Posting Guidelines
tehon3299 Posted February 16, 2003 Author Posted February 16, 2003 Thanks a lot guys. I'm going to find a good ping class and put it in the Code Library. I didn't even think of finding a class already listed. Quote Thanks, Tehon
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.