Results 1 to 5 of 5

Thread: Run commands in other programs [DOS]

  1. #1
    Join Date
    Feb 2009
    Posts
    62

    Run commands in other programs [DOS]

    hello world

    I would like to know if it is possible to run the command prompt DOS operations on programs already running so that I can open the executable (eg mspaint), but once opened, always in command line, can I make him do anything? (choose a paintbrush, write, execute Casting the image though?...)

    if it were possible with DOS, can we do this with something else?
    Thanks

  2. #2
    Join Date
    Dec 2008
    Posts
    31

    Re: Run commands in other programs [DOS]

    Everything depends on the program you want to use, where arguments, at run time and / or when it launches.

  3. #3
    Join Date
    Oct 2008
    Posts
    167

    Re: Run commands in other programs [DOS]

    Look, I know commands can only be of two types one applications with interface via console system [DOS prompt] or graphical [windows].

    Entirely based on that console are structured so as to write in output on the console for any messages you receive and command line user input.

    Those based on a graphical interface run running handle input / output with the user directly through the graphical interface (just for this so called).

    In the distinction of this rule, each application to define whether the ways / times by which the interface works.

    To take your example of Paint, yes, you can run it from console via command line, and perhaps pass as a parameter the name of a file to open them right away, but I simply do not believe we can do much more.

  4. #4
    Join Date
    Feb 2009
    Posts
    62

    Re: Run commands in other programs [DOS]

    I understand .. to me this "other" was used to do, but it seems to be impossible to me ..

  5. #5
    Join Date
    Jan 2009
    Posts
    140

    Re: Run commands in other programs [DOS]

    what you want to do is that "controlling" the operation of an application by another program, you must know how to use extensively the Win32 API. There are many ways to do it, sending messages to the application, DDE and other things that depend on the application.

Similar Threads

  1. Replies: 7
    Last Post: 14-08-2009, 09:03 PM
  2. Need Basic Dos commands for Commands prompt
    By JangoRap in forum Operating Systems
    Replies: 5
    Last Post: 29-06-2009, 12:07 PM
  3. Replies: 0
    Last Post: 10-01-2009, 08:37 PM
  4. Replies: 3
    Last Post: 15-11-2008, 07:27 PM
  5. Replies: 3
    Last Post: 05-09-2006, 05:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,176,234.18536 seconds with 17 queries