You can press Ctrl+Shift+C on PC to open the text command bar. This will pull up a small gray bar in the top left-hand corner of your screen where you can type. Punch your code in there and hit enter ...
Today, there is only Call of Duty, but it would be generous to pretend it could have solidified this grip on the scene ...