开发者

bin directory and PATH

开发者 https://www.devze.com 2023-01-06 22:51 出处:网络
I\'m beginner in programming. Can somebody please explain (by simple words) what do I have inside the bin directory of program?

I'm beginner in programming. Can somebody please explain (by simple words) what do I have inside the bin directory of program?

What is this PATH environment variable of windows, how does it work (please d开发者_如何学Pythonon't think that I don't know how to use Google, I just want to understand it more clearly)?


You usually put all the binary files for a program in the bin directory. This would be the executable itself and any dlls (dynamic link libraries) that the program uses.

This isn't essential as Windows use the PATH environment variable to look for dlls your program needs. This is a list of folders that Windows searches, in order, when it can't find a dll (say) in the current directory.

So if you want to have a dll used by more than one program you could put it in a location already on the PATH or add a new folder to the PATH.

0

精彩评论

暂无评论...
验证码 换一张
取 消