Thanks Desolation. So your saying if I add those two lines I can run the program without typing cmd etc? Where would I insert those two lines? Thanks