Cotton is one of those lessons you sometimes have to learn the hard way but these folks here are steering you in the right direction. Get yourself some pants that are made out of nylon or some other synthetic fabric and some wool socks. Not only do "hiking pants" dry way quicker but they are also lighter, more comfortable, breathable, and usually even provide uv protection. You can get a pair for 40-50 bucks if you look around. Even just for dayhikes these two items will make a difference in your enjoyment. Especially the socks! I was amazed when I first started wearing smartwool socks. They are super comfortable, keep your feet dry, and they keep the stink away due to their natural anti-bacterial properties.