Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding DJV to the command line using PATH (System variables - Win10) doesn't launch DJV #484

Open
3dcinetv opened this issue Feb 4, 2023 · 3 comments

Comments

@3dcinetv
Copy link

3dcinetv commented Feb 4, 2023

Hello, I've added my path:
C:\Program Files\DJV2\bin\djv.exe
To the PATH variable in Windows 10 System variables.
But when I launch a cmd with "djv_info" I get the:
'djv_info' is not recognized as an internal or external command,
operable program or batch file - Error.

Is there anything else I should setup to make DJV launch from cmd?

@charliewales
Copy link

Add the path, not the executable:

C:\Program Files\DJV2\bin

Every executable under that path will be available in a cmd window

@3dcinetv
Copy link
Author

3dcinetv commented Feb 4, 2023

Fantastic, it works.
Also, when I type "djv_info" I don't get the current number version of DJV, I only get ".:" glyphs.

@mslinn
Copy link

mslinn commented Nov 27, 2023

Here is some documentation that should help other Windows users. I am not sure how to offer it via a pull request.

The djv installation program does not put djv.com on the PATH. To accomplish that, open a cmd console with administrator privileges by pressing Windows-R, typing cmd, then pressing Ctrl-Shift-Enter. The C:\Your Userid> prompt should appear.

Now paste in the following, exactly as shown:

setx /M PATH "%PATH%;C:\Program Files\DJV2\bin"

The modified path is not available to the existing console. Close it and open another instance with normal privileges.

You should now be able to operate djv.com from the command line. You can view the command-line help by typing:

djv -h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants