Results 1 to 2 of 2

Thread: shell problem

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2000
    Location
    IL
    Posts
    39

    Post

    Ok, I got a program that I want to be executed from another program via the shell command. This program has a switch (is that the word? It's been awhile since i used them.) at a dos prompt one must type...
    D:\call wav\myProgram.exe - run ...to get the prgram to run. but it wont work as a shell command suchas...
    IAM = Shell("D:\call wav\IAMSETUP.EXE" - run, 1) ...What to do?

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670

    Post

    Try these;

    IAM = Shell("D:\call wav\IAMSETUP.EXE" "- run", 1)

    or

    IAM = Shell("D:\call wav\IAMSETUP.EXE - run", 1)

    I think one will work.


    ------------------
    Mark "Buzby" Beeton
    VB Developer
    [email protected]



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