I just successfully installed Oracle Developer but having trouble logging on to Sql Plus from command line, also can't connect via any of the Developer Tools, I keep getting TNS: Connect timeout occurred. This also happens for Sql Plus for Windows.

However, I can connect via Sql Plus command window when it's run from "Start --> All Programs", but not when I first run the Command window:

I have a good Oracle 11g install on Windows 7 and a good Sql Developer install so I can connect to the databases but something's not working when trying to connect via these tools. Although Sql Plus works when called from 'Start --> All Programs'