I know that's why you said. That's why I asked how you do it after they're cooked. This is the only way I know to shred them. At least that I can think of.
The only way I can think to do it after the potatos are cooked is with an electric (I know I spelled that wrong) shredder. Otherwise you'll just end up with a mushy mess!