Results 1 to 3 of 3

Thread: DOS question..

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    240

    Wink

    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





  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    by size do you mean the size of a particular file? If so then:
    Code:
    Text1.Text = FileLen("C:\test.txt")
    FileLen is the function that would tell you the file size in bytes...if you need it in kb then simply use math.

    I'm not sure what you mean by count though...

    Hope that helps,
    D!m

    Dim

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    240

    Wink Thanks

    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





Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width