How to resolve a program caption into its exe path?
Posted: 02 Nov 2012 16:42
run notepad; // opens C:\WINDOWS\NOTEPAD.EXE
> so how I can determine that 'notepad' has that given path?
Reason: I'd like to circumvent current run([wait]) inability to work with say "run winrar, , 1;", resolving in advance that 'winrar' points to 'c:\programs\winrar\winrar.exe', for instance, then using it as a value to a variable like "run $rar, , 1;", being $rar = 'c:\programs\winrar\winrar.exe', then.
> so how I can determine that 'notepad' has that given path?
Reason: I'd like to circumvent current run([wait]) inability to work with say "run winrar, , 1;", resolving in advance that 'winrar' points to 'c:\programs\winrar\winrar.exe', for instance, then using it as a value to a variable like "run $rar, , 1;", being $rar = 'c:\programs\winrar\winrar.exe', then.