Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 06-02-2009
Member
 
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
Reply With Quote
  #2  
Old 06-02-2009
Member
 
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.
Reply With Quote
  #3  
Old 06-02-2009
Member
 
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.
Reply With Quote
  #4  
Old 06-02-2009
Member
 
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 ..
Reply With Quote
  #5  
Old 06-02-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Run commands in other programs [DOS]"
Thread Thread Starter Forum Replies Last Post
Remove Wrong Programs from Recommended Programs List in Windows michaels Customize Desktop 7 14-08-2009 09:03 PM
Need Basic Dos commands for Commands prompt JangoRap Operating Systems 5 29-06-2009 12:07 PM
Uninstall Programs That Are Not Appeared in Add or Remove Programs List DANIEL 602 Tips & Tweaks 0 10-01-2009 08:37 PM
Can't remove or modify programs from control panel Add/Remove Programs any more.. gemss Windows XP Support 3 15-11-2008 07:27 PM
My Add/Remove Programs list missing several installed programs Fedlix Windows XP Support 3 05-09-2006 05:34 AM


All times are GMT +5.5. The time now is 04:23 AM.