I have an issue with the Run command.
I am working on a virtual desktop at work and want to start a program.
Usually the path is something like C:\program files\my_program\my_program.exe
However, in the virtual desktop, the absolute path to my progam is %AppVPackagePathEPD%\Root\my_program\my_program.exe
When I run the following code I get an error that the target cannot be found. Probably AHK treats %AppVPackagePathEPD% as a variable.
Code: Select all
^+x::Run, %AppVPackagePathEPD%\Root\my_program\my_program.exe
I've also tried the following but it still gets an error
Code: Select all
^+x::Run, `%AppVPackagePathEPD`%\Root\my_program\my_program.exe
I also tried doing it through %ComSpec% but this is disabled by our IT guys.
Do you have any suggestions? Or is there a way to first resolve %AppVPackackagePathED% to a normal path in AHK and then use this path in the Run command?
Hopefully I've worded the question clearly,
Thanks in advance for your suggestions!
Justin