阅读背景:

在CLI环境中访问本地应用程序文件?

来源:互联网 

I'm not sure how to ask this, but I'll do my best. Anyway, my situation is this: I have files that I want my app/executable to be able to access at all times that are relative to the executable's path or in the same directory as the program. Since I want my program to be able to run in any CWD and still get everything it needs. I want to know what's the best way or method to get a file that's relative to my executable, that won't mess up the user's CWD?I'm not sure how to ask this, but I'll do my be




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: