Lay a 10-inch square of thin fabric, such as cotton muslin, on your work surface. The fabric must have a loose weave, but not so loose that the moisture-absorber particles can fall through the fabric.
Place ½ to ¾ cup of a desiccant in the center of the fabric square. For the desiccant, use silica crystals, available from craft stores, or activated alumina, available from industrial chemical suppliers.
Gather the edges of the fabric together to form a bag securing the desiccant material inside. Tie the bag closed with a length of twine or a rubber band.
Hang the bag from the closet rod. Alternatively, place the bag on the floor or on a shelf inside the closet.
Open the bag and dry the desiccant crystals every two to four weeks, depending on how quickly they absorb moisture. Place the crystals on a baking sheet and dry them in a 300- to 350-degree F oven for two to three hours. Place them back in the bag and return them to the closet after drying.