Andre Celie Posted January 28, 2006 Share Posted January 28, 2006 (edited) Can some one help me with the following: I need to know how to run programs when the are typed into a box I know how to read an inputbox, but the I don't know how to combine everything together I tried this Runwait("C:\Progra~1\Winrar\Winrar.exe" & " a" & "v" & GUICtrlRead($RarSize)& " " & GUICtrlRead($WorkDir) & GUICtrlRead($OutDir)) I don't get an error though How can I run this ;Settings $App1 = "C:\Progra~1\Winrar\Winrar.exe" ; location of Winrar $Setting1 = "-m" ; Setting for compression $Setting2 = "w" ; Setting for work directory C:\Progra~1\Winrar\Winrar.exe -m w etc But it is not working Thanx Edited January 28, 2006 by Andre Celie Link to comment Share on other sites More sharing options...
Valuater Posted January 28, 2006 Share Posted January 28, 2006 maybe take a look at thishttp://www.autoitscript.com/forum/index.ph...st=0&p=141736hope that helps8)PSWelcome to the Autoit Forums Link to comment Share on other sites More sharing options...
Andre Celie Posted January 28, 2006 Author Share Posted January 28, 2006 (edited) Sorry, I can't get it to work. $App1 = "C:\Progra~1\Winrar\Winrar.exe" ; location of Winrar $Setting1 = "-m" ; Setting for compression $Setting2 = "w" ; Setting for work directory $Workdir = "C:\Test" $OutputDir = "C:\Temp" $File1 = "\*.*" $File2 = "Test" So my line should be sometinong like this I think $App1 <space> & $Workdir & $file1 <space> & $OutputDir & $File2 Can this be done? This is working though Runwait($App1) Thanx Edited January 28, 2006 by Andre Celie Link to comment Share on other sites More sharing options...
Andre Celie Posted January 28, 2006 Author Share Posted January 28, 2006 Well finally I got it working, and my small tool does what it need to be done, Packing files, Par2 file creation, or just All In One. Link to comment Share on other sites More sharing options...
jaenster Posted January 30, 2006 Share Posted January 30, 2006 There is some commando , called : Run and _rundos -jaenster Link to comment Share on other sites More sharing options...
Andre Celie Posted January 31, 2006 Author Share Posted January 31, 2006 The problem is solved, it is possible to just use RUN en RUNWAIT, but you need the right structure, and there I went wrong. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now