Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
bla://${foo}/barこの式where で文字列を作成しようとしています${foo} == "hostname"。期待される結果はですbla://hostname/barが、代わりに得られhttp://${foo}/barます。その組み合わせには何か特別なもの/$があると思いますが、それを理解することはできません.
bla://${foo}/bar
${foo} == "hostname"
bla://hostname/bar
http://${foo}/bar
/$
ご協力いただきありがとうございます
/$は特別なものではありませんが、存在しない定義は最終的に になります${definename}。
${definename}
DetailPrint "${foo}" ; Prints ${foo} !define foo example.com DetailPrint "${foo}" ; Prints example.com
すべての定義はコンパイル時に解決されます。このホスト名がカスタム ページでユーザーが構成できるものである場合は、NSIS 変数を使用する必要があります...