I wrote a batch file that does a whole slew of things-- builds environment variables, copies files, does text substitution, runs DBMS/Copy in batch mode, runs SAS in batch mode, etc.
This was working smoothly, but recently, it's been stopping at the end of some of the steps (like DBMS/Copy) and just waiting. When I click in the MS-DOS window and re-establish focus, the batch file starts right up again.
Why is this stopping, and how do I keep the focus in the MS-DOS window to let the batch file complete??
The way I've been running this is by opening an MS-DOS prompt window (on Windows 98) Start --> Programs --> MS-DOS prompt.
Then I navigate to the correct directory, and I type the batch file name at the prompt.
One other thing: I sometimes use the START /WAIT command to try to keep things properly synchronized. But this worked OK before.
This was working smoothly, but recently, it's been stopping at the end of some of the steps (like DBMS/Copy) and just waiting. When I click in the MS-DOS window and re-establish focus, the batch file starts right up again.
Why is this stopping, and how do I keep the focus in the MS-DOS window to let the batch file complete??
The way I've been running this is by opening an MS-DOS prompt window (on Windows 98) Start --> Programs --> MS-DOS prompt.
Then I navigate to the correct directory, and I type the batch file name at the prompt.
One other thing: I sometimes use the START /WAIT command to try to keep things properly synchronized. But this worked OK before.