Results 1 to 4 of 4

Thread: how do i pass Switches to a dos program?

  1. #1

    Thread Starter
    Hyperactive Member Cmdr0Sunburn's Avatar
    Join Date
    May 2001
    Location
    g0t r00t?
    Posts
    461

    Question how do i pass Switches to a dos program?

    how do i pass Switches(commands) to a dos program?
    I know a lot oF Vb, expert in C++, and i think in assembly.
    MSVC++6.NET
    vb6
    masm
    Windowz Xp
    I find my self using this a lot in C++

    __asm {
    }

  2. #2
    Matthew Gates
    Guest
    VB Code:
    1. Shell "command.com /c dir /a C:\Windows\*.* > C:\Windows.txt", 1

  3. #3
    Tygur
    Guest
    Doesn't this work?
    VB Code:
    1. Shell "c:\dosprogram.exe /command", vbNormalFocus

  4. #4
    Tygur
    Guest
    looks like I waited a second too long before pressing that submit button..

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