Right click on the window, then click on select all. Once everything is highlighted cut and paste it before you click on anythign else. This feature exsist in Vista and Im pretty sure XP. so long as your running a command line interface and not a legitmate dos prompt. You know, the dos in a window thing....