[BRLTTY] brltty 6.5 nvda python

Dave Mielke Dave at mielke.cc
Mon Oct 24 16:05:16 EDT 2022


[quoted lines by Chevelle on 2022/10/24 at 15:26 -0400]

>It is interesting that the batch files in the Windows release contain this
>line.
>
>set programFolder=%~dp0
>
>It doesn't seem to be valid Windows syntax.  It doesn't appear to work on my
>system.

Yes, it's valid. It means the directory component of the path to the script.

>Maybe what is intended is to get the current install directory.
>
>Perhaps it could say:
>
>set programFolder=%CD%
>
>'CD' would be the current directory.

No, that wouldn't be acceptabe. For example, it wouldn't work right if your current directory was somewhere else and you were invoking the script via its absolute path.

-- 
I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |


More information about the BRLTTY mailing list