Infinite loop on black screen after uninstalling another program through avast

I used avast to uninstall CopyTrans and now all I have is a black screen. I can get to task manager, but nothing else. If I restart, I get my usual screen, type in the password, and get the black screen. It seems to be stuck in an infinite loop. What to do? I can’t get to the command prompt.