How can i add the commands in DOS such as
timeout, size,count..stuff like that
into my vb app...without actually using DOS.
I already no how to send bytes but am not sure about everything else.
Thanks
Printable View
How can i add the commands in DOS such as
timeout, size,count..stuff like that
into my vb app...without actually using DOS.
I already no how to send bytes but am not sure about everything else.
Thanks
by size do you mean the size of a particular file? If so then:
FileLen is the function that would tell you the file size in bytes...if you need it in kb then simply use math. :)Code:Text1.Text = FileLen("C:\test.txt")
I'm not sure what you mean by count though...
Hope that helps,
D!m
But what i was trying to say was that , i want to be able to use DOS commands, such as ping and netstat (stuff like that) in my vb application.... (without having to open a DOS window.
Thanks again :)