[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: [email protected]  | Ottawa, Ontario   | Twitter: @Dave_Mielke
Phone: +1 613 726 0014 | Canada  K2A 1H7   |
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.app/mailman/listinfo/brltty

Reply via email to