Deathboy Posted March 5, 2010 Share Posted March 5, 2010 (edited) I wanted to put the compiled file (.exe file) in a folder with another file and make the program I made start it Run(@AutoItExe & " /c Start VW-AU") Run(@AutoItExe & " /c Start VW-AU.exe") run("VW-AU") run("VW-AU.exe") run("F:\VW-AU") run("F:\VW-AU.exe") <--- Ive tried those 6things to get the VW-AU.exe to start but It just wont do it. I tried with other applications too without any result. I made a 1line script just to try and open the file but I can't, any help would be appreciated, thanks EDIT: Forogt to mention that it is shortcuts I'm trying to start, does that have anything to say? (sees that filetype: shortcut, instead of program wich ist is on main program) Death_boy Edited March 5, 2010 by Deathboy Link to comment Share on other sites More sharing options...
JohnOne Posted March 5, 2010 Share Posted March 5, 2010 Try ShellExecute("F:\VW-AU.exe") AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Warmonger Posted March 5, 2010 Share Posted March 5, 2010 I've had this issue before. Make sure your setting the working directory for the binary. Example: Run("Program Path + Program.exe", "Program Path", @SW_SHOW) Example 2: Run("C:\Windows\NOTEPAD.exe", "C:\Windows\", @SW_SHOW) [AutoIt File Patcher] Link to comment Share on other sites More sharing options...
Deathboy Posted March 5, 2010 Author Share Posted March 5, 2010 TryShellExecute("F:\VW-AU.exe")Thanks JohnOne Worked perfectly Link to comment Share on other sites More sharing options...
Deathboy Posted March 5, 2010 Author Share Posted March 5, 2010 I've had this issue before. Make sure your setting the working directory for the binary. Example: Run("Program Path + Program.exe", "Program Path", @SW_SHOW) Example 2: Run("C:\Windows\NOTEPAD.exe", "C:\Windows\", @SW_SHOW) Thanks for answear but didn't work^^ 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