It is currently March 29th, 2024, 2:20 pm

Run command with relative path

Get help with creating, editing & fixing problems with skins
User avatar
theimmersion
Posts: 55
Joined: November 27th, 2016, 1:51 pm

Run command with relative path

Post by theimmersion »

Im surprised i could not find any useful info about how to run a program with relative path.
I bundled up Rainmeter with RocketDock and some AHK script as portable on flash drive, how can i run my ahk script with a relative path? Example of paths:

H:\Portable Apps\Rainmeter
H:\Portable Apps\RocketDock
H:\Portable Apps\AHK_Manager

How do i use [Run "relative path\AHK_Manager\Manager.exe"]?
Is it even possible?
It is very important to start the Manager.exe from that folder because the way AHK works (so i cant place it in Resource folder).

Specificlly, i need to run it with some arguments.
[Run "relative path\AHK_Manager\Manager.exe" "SystemScan"]
[Run "relative path\AHK_Manager\Manager.exe" "Settings"]
[Run "relative path\AHK_Manager\Manager.exe" "Quit"]