Ask Experts Questions for FREE Help !
Ask
    victorray's Avatar
    victorray Posts: 11, Reputation: 1
    New Member
     
    #1

    Jan 4, 2011, 03:05 AM
    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.
    Scleros's Avatar
    Scleros Posts: 2,165, Reputation: 262
    Hardware Expert
     
    #2

    Jan 5, 2011, 05:38 PM

    The command search path in Windows is set by an environment variable named %PATH% for Windows NT and later versions. The paths that could be considered default since they are set when the operating system is installed are C:\Windows and C:\Windows\System32. However these locations cannot be considered reliable as Windows setup allows changing where the OS is installed. Plus, it is very poor form for an application to co-mingle and litter its files with Windows' (it is also very poor form that Windows will let it, but that's another matter). So, no, there isn't a similar option exactly. Instead an application can append its installation path to the path environment variable. %PATH% can also be manually edited via Windows' Control Panel > System > Advanced > Environment Variables.

    Also, files with executable extensions (primarily .exe, com, and .bat) will run from the current directory without specifying a path (such as .\MyExe.exe).

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search


Check out some similar questions!

Deleted file from trash bin [ 3 Answers ]

I deleted a muscic file from my trash bin for my Ipod. Is there a way to recover this file

Problem with BIN file... [ 8 Answers ]

Hi guys, I have encountered a problem after I downloaded the movies using Bitlord. After I downloaded the movies, I couldn't play them using Windows Media Player, PowerDVD, etc. What can I do with the file? THankS in AntiCipaTion...

Retrieving file deleted from recycle bin. [ 18 Answers ]

I have accidentally deleted an important file from the recycle bin, and I have done a system restore , is there anyway that I can retrieve the file??

Heeelp with my .bin file? [ 4 Answers ]

Hi there peeps, I have a game on my PC but it is in .bin format. The file is approximatly 750mb and in the file there is also a tiny .cue file which I don't understand. How do I open this file? Please someone help :confused:


View more questions Search