You can use a food processor or blender to do this. Another method is to place the cookies in a ziplock bag and smash them up with a rolling pin until you get the desired texture.