如何在.ini文件中设置相对路径? [英] How to set up relative path in .ini file?

查看:1286
本文介绍了如何在.ini文件中设置相对路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

              Adviant
                 |

               Deluxe
                 |
32bit ----------------------- Forms





如何设置Deluxe和Forms的相对路径?下面是.ini文件。 Adviant,Deluxe,32bit和

表格代表上图中的文件夹



How to set up the relative path for Deluxe and Forms? Below is the .ini file. Adviant, Deluxe, 32bit and
Forms represent folders in the illustration above

--------------------

    [Preferences]
    ConnectionPref=0
    PartnerOffers=1

    [UninstallInfo]
    ProgramFolder=Adviant Deluxe
    RegFolder=Adviant Deluxe
    InstDir=C:\Program Files\Adviant\Deluxe

    [EngineOptions]
    FormPath1=C:\Program Files\Adviant\Deluxe\Forms

    [Cache]
    Build=Yes

--------------------



.ini文件本身在32位文件夹内





我尝试了以下内容并且无法正常工作


The .ini file itself is inside 32bit folder


I tried the following and it did not work

InstDir=..\..\..\Deluxe

FormPath1=..\..\Forms

推荐答案

这篇关于如何在.ini文件中设置相对路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆