Jump to content

Recommended Posts

Posted

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.

Posted (edited)

$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

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
×
×
  • Create New...