Passing parameters to other programs...is it possible?

This is a discussion on Passing parameters to other programs...is it possible? within the Windows Programming forums, part of the Platform Specific Boards category; Is it possible to pass a parameter to another program, for example, to pass a parameter to Winzip to zip ...

  1. #1
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052

    Passing parameters to other programs...is it possible?

    Is it possible to pass a parameter to another program, for example, to pass a parameter to Winzip to zip a specific folder or something like that? If so, how is it done? Do I have to see a specific program's documentation/website?

    Chris

  2. #2
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121
    Certainly it will be program specific, so yeah you'll probably have to consult the developer's info. I think it will depends on whether the program can accept input as a command line argument, which is obviously very limiting. It may be possible to open the program and send messages to it that would emulate the effect of a user using the program. (Like the guillemot driver installations, they were fun to watch, maybe it's just me )

  3. #3
    Refugee face_master's Avatar
    Join Date
    Aug 2001
    Posts
    2,052
    Originally posted by Robert602
    (Like the guillemot driver installations, they were fun to watch, maybe it's just me )
    What's that?

  4. #4
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121
    I'm fairly sure it was the graphics drivers for guillemot cards. You ran the executable, and you could see control panel appear, then display properties, then settings. Just as you would do it manually but the program was 'clicking' everything for you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. functions passing parameters
    By volk in forum C Programming
    Replies: 9
    Last Post: 01-02-2003, 05:49 PM
  2. Passing parameters from VB to C++ through ActiveX DLL
    By torbjorn in forum Windows Programming
    Replies: 0
    Last Post: 12-10-2002, 03:13 AM
  3. executing c++ programs on the web
    By gulti01 in forum C++ Programming
    Replies: 4
    Last Post: 08-12-2002, 04:12 AM
  4. passing templates as parameters - something funky?
    By archetype in forum C++ Programming
    Replies: 1
    Last Post: 02-20-2002, 08:38 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21