This will use the Tilde ‘~’ key (the key above the Tab key and to the left of the 1 key on QWERTY keyboards) to pull down the console window so that you can enter console commands. Find the “” section and add the following line right after it: In that folder you will see a “DefaultInput.ini” file, open that file in a text editor (like Notepad). Open Windows Explorer and browse to the “C:\Program Files (x86)\Steam\steamapps\common\Borderlands 2\WillowGame\Config” folder. Run the game at least once, create a character in the game, exit and save your game, then exit the game from the main menu. To enable the command console window in the game, you will need to edit the DefaultInput.ini file used by the game. Here’s how to enable the console on the PC version of the game and some console commands that you can use:
I’m porting it over here so we don’t lose it. This was originally posted by Botman over on the old forums.