That's EXACTLY how it's done. The question for you is where did you put
the file that it "can't be deleted"? At the least try booting up in Safe
Mode, and then delete it. And if you believe that's a silly reply too, I
seriously suggest you sign up for some basic computer classes.