nvmanca Posted January 16, 2009 Posted January 16, 2009 the notepad line works but the following two Run commands don't work. I have tried them with and without the backslash at the end of the workingdir. the file names and file paths are correct. Thanks, nvman ;Run("notepad.exe") Run("winamp.exe","C:\Program Files\Winamp\") ;Run("Approachloader.exe", "C:\Program Files\APPROACH\LAVA") ;WinWaitActive("Approach Loader") >"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "C:\Documents and Settings\agatzke\My Documents\approach.au3" /autoit3dir "C:\Program Files\AutoIt3" /UserParams +>10:18:13 Starting AutoIt3Wrapper v.1.10.1.14 Environment(Language:0409 Keyboard:00000409 OS:WIN_XP/Service Pack 3 CPU:X86 ANSI) >Running AU3Check (1.54.14.0) from:C:\Program Files\AutoIt3 +>10:18:13 AU3Check ended.rc:0 >Running:(3.3.0.0):C:\Program Files\AutoIt3\autoit3.exe "C:\Documents and Settings\agatzke\My Documents\approach.au3" +>10:18:14 AutoIT3.exe ended.rc:0 +>10:18:15 AutoIt3Wrapper Finished >Exit code: 0 Time: 1.637
Developers Jos Posted January 16, 2009 Developers Posted January 16, 2009 (edited) add the path to the first parameter! Edited January 16, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Robjong Posted January 16, 2009 Posted January 16, 2009 Hey,Like Jos said, in this case the first parameter must be the full path to Approachloader.exeThe 2nd param is the working directory, it has nothing to do with the location of Approachloader.exehttp://www.autoitscript.com/autoit3/docs/functions/Run.htm
nvmanca Posted January 16, 2009 Author Posted January 16, 2009 add the path to the first parameter!Thanks guys.
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