Jump to content

_RunDos Problem


Arterie
 Share

Recommended Posts

I searched the forum but i dont really know how to handle the codes i saw... maybe you can explain me what the code means wich you'll maybe post.

So my problem is this:

$dir1 = C:\Programme\Mozilla\firefox.exe

$dir2 = C:\test.txt

_RunDos($dir1 $dir2)

But for my script this ones have to be variables.And it would be better if you dont see the cmd.

Link to comment
Share on other sites

$dir1 = "C:\Programme\Mozilla\firefox.exe"

$dir2 = "C:\test.txt"

_RunDos($dir1 & " " & $dir2)

Works fine for me....but now i have a new problem. My GUI doesnt seem to work anymore. The window is still there but the buttons doenst work, after i pressed the button wich has the function _RunDos(.....)

Ok i now why it doesnt work....the exe i run is still running in the background....but how can i kill the process when this script is like paused?

Edited by Arterie
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...