Well yeah vbut when i tye in what i'm suposed to type in it dosn't respond when i press ~
  Let's go back and start over. And remove any confusion, let's first make sure you disable ever-troubling the "Hide Extensions of Known File Types" in Windows Explorer -> Tools -> Folder Options -> View 
 When you do that you should see the full name of "swkotor.ini".  
 Now...
 HOW TO ENABLE CHEATS:  
 Find the file called "swkotor.ini" in your Knights of the Old Republic game folder. Edit the file with Notepad and under the line [Game Options] add the following line:
 EnableCheats=1
 (thread link (
http://www.lucasforums.com/showthread.php?t=119128)) 
 Presumably, you knew this since you knew to look for the swkotor.ini file. Open up swkotor.ini make sure you made that change exactly as it appears above in [Game Options] section. Save. Double-check one more time. :)  
 Now launch KotOR and load a savegame. Press the ~ key and now it should bring up the console. The cheat commands are listed in that thread link above. 
 HTH