| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 18265 | 2002-04-21 11:29:00 | Oi DOS window! Come back so i can read you! | Guest (0) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 44972 | 2002-04-21 11:29:00 | I am running 98se on a slug 450 meg machine, when using some of the win-dos toys, such as 'ping' i get really annoyed that the window often disapears before i read the result (no smart comments please). This seems to apply to the 'test configuration' DOS window of win-apache and o so many other DOS tools. Is there any way of making these windows hang round so that they can be read without me having to stare at the screen to catch the final magic moment before they disapear again? | Guest (0) | ||
| 44973 | 2002-04-21 11:45:00 | Open a window before running your command e.g. 'Start', 'Run' and enter 'Command' as the program to run. | Guest (0) | ||
| 44974 | 2002-04-21 12:06:00 | Nice trick! I'll remember that one, by chance do you know how to make it work like that as a default? Heres the specific problem, i have set up apache for windows on my machine, and when i select the command in the apache program group 'test configeration' a dos window opens and a small line of text appears and window promptly disapears. I was literally able to read it by blinking. Maybe i should just get a linux box to run apache, like it was sposed to be run! | Guest (0) | ||
| 44975 | 2002-04-21 16:13:00 | In your \Windows directory you should find both Dosprmpt and MS-DOS Prompt. (or not, as the case may be.) Have a look at the properties of each. Under 'Program' you'll see the option 'Close on Exit' Uncheck the box on one, test, then the other and test again. See what happens. Now open a DOS window and type 'command/?' (no quotes) Have a look at the /K and /C options. A batch file is better. Change its properties so that it doesn't close on exit, and you're back in control. Cheers, Alan Carpenter |
Guest (0) | ||
| 44976 | 2002-04-22 00:14:00 | What a wonderful wealth of advice! Me being me, i tried all of it, starting with what appeared to be the simplist. I went into the windows directory, i found 'dospromt' 'MS-DOS Mode for Games with EMS and XMS Support' & 'MS-DOS Mode for Games' all of their propertys have now been altered so that in therie thay do not close after exit, in therie. In practice this made no differance at all. Next i attempted Mikes advice, after seeing where the shortcut actualy pointed (apache.exe) i went there and found no relevant options exsisted. Finaly i threw myself slightly out of my comfort zone (always a good move!) and tried Alans advice and created a file in notepad saying 'C:\Program Files\Apache Group\Apache2\bin\Apache.exe' -t -f 'C:\Program Files\Apache Group\Apache2\conf\httpd.conf' -d 'C:\Program Files\Apache Group\Apache2\.' named it test.bat and placed it in the windows directory. I went to start>run>'test' and got a window saying 'C:\Program Files\Apache Group\Apache2\bin\Apache.exe' -t -f 'C:\Program Files\Apache Group\Apache2\conf\httpd.conf' -d 'C:\Program Files\Apache Group\Apache2\.' syntax OK and was very happy! For an oncore i created a shortcut i called 'test and stay' which opens the test.bat file and works like a charm. Thankyou to all those who helped me with this annoying problem! Now i can mess up apache all by myself and find out how many errors the 'test' window can tell me! |
Guest (0) | ||
| 1 | |||||