How can you make a .exe file accessible from any location in the Windows command window? Is there some registry entry that has to be entered?

How can you make a .exe file accessible from any location in the Windows command window? Is there some registry entry that has to be entered?