Sign in to follow this  
Followers 0
Arterie

_RunDos Problem

5 posts in this topic

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.

Share this post


Link to post
Share on other sites



Furthermore:

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

_RunDos($dir1 & " " & $dir2)

Share this post


Link to post
Share on other sites

#5 ·  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

Share this post


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
Sign in to follow this  
Followers 0