I am trying to run a program in the (x86) directory.
However, I tried the code given (tweeking it of course), and it still won't run it.
; Run a program. Note that most programs will require a FULL file path:
Run, %A_ProgramFiles%\Some_Program\Program.exe
This what I have:
Run, %A_ProgramFiles%C:\Program Files (x86)\Avaya\CMS Supervisor R18\ACSRun.exe
I have tried different variables but it still won't work.
Help!
I just started today. looked at examples and such, but no luck. sigh
running a program in Program Files directory
Re: running a program in Program Files directory
Win 32 or 64 bit?
Code: Select all
; for 32 bit
EnvGet, prog32, ProgramFiles(x86)
Run %prog32%\ur_folder\ur_program.exe
Re: running a program in Program Files directory
Then
Code: Select all
Run %A_ProgramFiles%\folder\program.exe
Re: running a program in Program Files directory
Don't you put a comma after Run?
This is the path for the program:
C:\Program Files (x86)\Avaya\CMS Supervisor R18\ACSRun.exe
This is the path for the program:
C:\Program Files (x86)\Avaya\CMS Supervisor R18\ACSRun.exe
- donaldthejohn
- Posts: 25
- Joined: 27 Mar 2018, 20:23
Re: running a program in Program Files directory
You don't have to use a comma when the function is only using one parameter
I am a noob at coding, PLEASE be patient with me
Who is online
Users browsing this forum: Google [Bot] and 131 guests