View Single Post
Old 01-23-2023, 08:03 AM   #6
tatagi
Connoisseur
tatagi began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Oct 2022
Device: none
Quote:
Originally Posted by DNSB View Post
Are you seeing an error message when you try to execute calibre-debug from the command line that looks like:

'D:\Calibre' is not recognized as an internal or external command, operable program or batch file.

This is due to CMD not being happy with a space in a command string; To get around this, as in @theducks example, wrap the command in "s.

I.e.

do not use D:\Calibre Portable\Calibre\calibre-debug -g

do use "D:\Calibre Portable\Calibre\calibre-debug" -g

See How to Escape Spaces in File Paths on the Windows Command Line for a bit of help.
Quote:
Originally Posted by capink View Post
I have not tried this myself, but I guess that is what the installed version is doing:

How to Add to Windows PATH Environment Variable


thank you for suggestion.

@DNSB yes. to be on a safer side, I always enclose the file path with quotes. btw what does -g switch do in your script?

@capink I think I'll give it a go, but in the settings dialog, which one should the path of portable calibre be in? User variables or System variables?
tatagi is offline   Reply With Quote