The game you are thinking of might be The Hobbit or Shamus. Both are older adventure-style games that could match a vague memory of a small character exploring and solving challenges. If neither seems right, searching old Windows 95 game lists may help you identify it.