You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was progress made in #1 for this feature, and even some code reviewing done, but it seems to have stalled.
While %~dp0 is an option, I am bothered a bit by the fact that both % and ~ are allowed as part of filenames. Using characters that aren't allowed would be better.
My suggestion is <://:> with a single-letter parameter in-between, as I feel that would be difficult to ever purposely put in as an argument for any other purpose.
Prefixing the letter with a!on theargs = row would instead point to thepath = path e.g. using <:/!f/:> with path = cmd.exe would make <:/!f/:> resolve to C:\Windows\System32\cmd.exe
The text was updated successfully, but these errors were encountered:
The ! requires us to find the full path for the launch cmd. I want to avoid that if possible as it can also imply security issues if we resolve to a wrong path.
Let me implement the <:/../:> first to see how it's going.
There was progress made in #1 for this feature, and even some code reviewing done, but it seems to have stalled.
While %~dp0 is an option, I am bothered a bit by the fact that both % and ~ are allowed as part of filenames. Using characters that aren't allowed would be better.
My suggestion is
<:/
/:>
with a single-letter parameter in-between, as I feel that would be difficult to ever purposely put in as an argument for any other purpose.Proposed syntax example
Shim executable:
C:\Program Files (x86)\Example Directory\shim.exe
<:/f/:>
C:\Program Files (x86)\Example Directory\shim.exe
<:/d/:>
C:\Program Files (x86)\Example Directory
<:/p/:>
C:\Program Files (x86)
<:/c/:>
Example Directory
<:/b/:>
shim
<:/x/:>
.exe
<:/n/:>
shim.exe
Prefixing the letter with a
!
on theargs =
row would instead point to thepath =
pathe.g. using
<:/!f/:>
withpath = cmd.exe
would make<:/!f/:>
resolve toC:\Windows\System32\cmd.exe
The text was updated successfully, but these errors were encountered: