Results 1 to 6 of 6

Thread: executable file in bin folder

  1. #1

    Default executable file in bin folder

    In linux if we put the executable file in bin folder, we can run this file with out specifying its path. Could anyone please tell the similar option in Windows OS. Thank you in advance.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,954

    Default Re: executable file in bin folder

    In Unixc/Linux this works because the directory where the executable is is mentioned in the PATH environment variable, not because it is in some directory with the name bin.
    E.g. for me (as end-user):
    Code:
    henk@boven:~> echo $PATH
    /home/henk/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/home/henk/.local/bin
    henk@boven:~>
    I would not know if there is a mechanism like that in Windows because I know allmost nothing about Windows. But the above description could give you a hint.

    Else I would advise you to go to a Windows forums where they should know everything
    Henk van Velden

  3. #3
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: executable file in bin folder

    I searched google and it came up with this:
    Windows PATH Variable | PCMech
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

  4. #4

    Default Re: executable file in bin folder

    Thank you very much to all. This is exactly what I want, I always find the solution of my problem in this forum. I prefer to use openSUSE but for some softwares constrain to use Windows.

  5. #5
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: executable file in bin folder

    Yes, and guess who copied who where the idea of a PATH config variable is concerned. (DOS and Unix that is.)

  6. #6
    Join Date
    Jul 2010
    Location
    Adelaide, Australia
    Posts
    963

    Default Re: executable file in bin folder

    Quote Originally Posted by victorray View Post
    Thank you very much to all. This is exactly what I want, I always find the solution of my problem in this forum. I prefer to use openSUSE but for some softwares constrain to use Windows.
    I'm glad that we could help
    Desktop: Gigabyte GA-Z270-HD3 - Core i7 7700K - openSUSE Leap 42.2 KDE
    Laptop: HP EliteBook 8770W - Core i7 3940XM - openSUSE Leap 42.2 KDE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •