Jump to content

Access cmd-window from gui

Recommended Posts


I wrote a little gui for dirms.exe (defrag commandline tool).

The gui takes some settings, build the matching commandline string and starts the tool minimized.

To interrupt the defragging it's necessary to press Strg+C at commandline. Kill the process is not quite good by defragging i think ;-)

So i started the commandline with RUN not with RUNWAIT to get control back to the gui. But then i'm not possible to reactivate the commanline window and send the keys if the user klick on abort.

Does someone have an idea to solve the problem?

The gui with files and sourcecode: http://www.wolfgang-fuehrer.de/filearea/pu...S_GUI_0.2.1.EXE

Screenshot: http://www.wolfgang-fuehrer.de/filearea/pu..._gui_screen.gif

(Working version - with RUNWAIT - without abort - lines remarked)

The defrag tool: http://www.dirms.com

Wolfgang F├╝hrer

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...