QUOTE (Benjamin @ Apr 6 2006, 07:19 PM)

My solution: Insert a Pause command.
This was an easy fix for me. My.bat files were closing before I had an opportunity to view the echo. I simply added a "Pause" command at the end of the batch file and the screen remained open until I pressed any key.
I run dos programs and batch files regularly from both XP and Win2K -- without problems. No pause command unless doing a dir command.
I have a command link on my desktop -- whenever I want to run a dos program or batch file, I open the window and run it -- of course I have added a path change in my environment to include c:\bat -- .
I use a Wordstar dos window, set up through a command window -- not using a pif. I also run an old quick and dirty database, a file manager (DF--Directory Freeddom, Version 2.11 3/89, by Gordon Haff) and a search program (FFF, File Finder Pac, Version 5.2, March 14, 1996, by Jim Derr), DM2 (DIRMATCH by PC Mag ), two quick directory changers (go.com by Jeff Owens & LCD Led's Change Directory v2.1, by Jim Ledbetter -- LCD is tricky because of entry limits)) as well as Laplink3 (a golden oldie). All run nicely in XP and Win2K. All these run from a command window, with appropriate path settings.
Once a month I use a virtual machine to run some dos stuff that won't run in Win98x, but work fine in Dos 6.2 ( I'm talking about DataStar's formsort program, just will not sort right in Win98 up.)