How to reduce the pain of the command prompt