VB6 and DOS Commands

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khushtarzia
    New Member
    • Mar 2007
    • 8

    #1

    VB6 and DOS Commands

    HI,
    Can anybody tell me how we can Execute DOS Internal or External commands like DIR, CLS,MD,RD or CHKDSK etc. from VB6?
    Thanks
    Khushtar Zia
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by khushtarzia
    HI,
    Can anybody tell me how we can Execute DOS Internal or External commands like DIR, CLS,MD,RD or CHKDSK etc. from VB6?
    By using Shell perhaps? What do you want to happen to the output?

    Comment

    • vijaydiwakar
      Contributor
      • Feb 2007
      • 579

      #3
      Originally posted by khushtarzia
      HI,
      Can anybody tell me how we can Execute DOS Internal or External commands like DIR, CLS,MD,RD or CHKDSK etc. from VB6?
      Thanks
      Khushtar Zia
      for dir use Directory ctrl ,chkdsk,cls-shell,md,rd-> filesystem object

      Comment

      Working...