tmighty
tmighty

Reputation: 11417

Hard symbolic link: Specifiy "Start in:" and Parameters

I'm using

mklink /h "C:\Shortcut.exe" "C:\Real.exe"

to create a hard symbolic file link.

However, I don't see how I could specify the "Start in:" property for the Target file or parameters.

Is there a way to do that?

Upvotes: 5

Views: 1863

Answers (1)

Mir-Ismaili
Mir-Ismaili

Reputation: 17214

You can create Shortcut.bat (instead of a link) and write below command into it:

call "absolute\path\of\your\excecutable" %*

Example:

@call "C:\Program Files (x86)\GnuWin32\bin\openssl.exe" %*

Save above lines in openssl.bat everywhere you need a shortcut.

Upvotes: 1

Related Questions