Copyq: Add copyq to PATH environment variable

Created on 30 Sep 2018  路  6Comments  路  Source: hluk/CopyQ

Since copyq can be triggered with copyq.exe and use it for coding like in a python script etc.

Adding copyq to PATH or some other environment variable would ease the use to call the application. At the moment you have to use the complete search path to call the binary. (powershell today is rather smart when it comes to environment variables so it would help)

Windows help wanted

All 6 comments

It's probably possible by modifying the Inno Setup file -- here is how to do it.

Unfortunately, I currently don't have access to Window machine, so help is appreciated.

@nmat isn't it usually the opposite? I know nothing about Windows, but isn't the copyq binary installed into a directory that is already included in the PATH? Or on Windows, this is really the responsibility of each individual application?

@scottkosty AFAIK the application gets installed in Program Files/Program Files(x86) which is not in the path unless you specify it. Of course I can add it myself. However a option to add copyq to path due to it having options for commandline would make that easier.

@nmat good to know, thanks for the explanation!

@scottkosty As a comparison, installing python for example there is a question to add python to the PATH environment variable. So I would guess the same could go for copq install.

Perhaps we can use the code vscode already uses. But it looks overly complicated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SmileyStiles picture SmileyStiles  路  3Comments

sebflipper picture sebflipper  路  8Comments

Gitoffthelawn picture Gitoffthelawn  路  8Comments

ujay68 picture ujay68  路  9Comments

davidawad picture davidawad  路  9Comments