You need a command prompt open before running ipconfig, otherwise ipconfig will run, display it's output then exit which is why you get the prompt flashing up for a split second.
Go to run, type "cmd", then in the resulting console type "ipconfig".
When you say your IP isn't there, is your connection dropping at that time?