Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i run a progress program from a batch file in Windows NT?

Batch jobs

How can i run a progress program from a batch file in Windows NT?

by  AdzDaz  Posted    (Edited  )
You can do this by calling the progress executable(prowin32.exe) with all your database connection parameters from your batch file.

An example (note it expects environment variable DLC to be set):

@echo off
echo Starting progress...
%DLC%\BIN\PROWIN32.EXE -db yourdb -H yourHost -S yourPort -p yourProgram.r

Its a good idea to call a single program that steps through each .r to run. That way, your system only has to load up PROWIN32.EXE once.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top