Using V9.1C Windows Progress.
My purpose is to allow end-user to create new database from a sample db. V9 is always multi-volume and I want the db-name stored in the new database to contain relative pathname of the new db. For this reason I seem to have to use the prodb utility (cannot use procopy or the 4GL 'create database' command).
This I do by putting this prodb command among other commands in a batch-file and I run this batch-file via:
Os-command batch-file value(mycommand) .
However it opens a DOS window and I can't seem to get it to close automatically. Using Os-command NO-CONSOLE does not seem to work. Anyone know how to close the DOS window automatically w/o user having to close the DOS window? or better still don't open a DOS window at all and get it to work?
Thanks.
Skc
My purpose is to allow end-user to create new database from a sample db. V9 is always multi-volume and I want the db-name stored in the new database to contain relative pathname of the new db. For this reason I seem to have to use the prodb utility (cannot use procopy or the 4GL 'create database' command).
This I do by putting this prodb command among other commands in a batch-file and I run this batch-file via:
Os-command batch-file value(mycommand) .
However it opens a DOS window and I can't seem to get it to close automatically. Using Os-command NO-CONSOLE does not seem to work. Anyone know how to close the DOS window automatically w/o user having to close the DOS window? or better still don't open a DOS window at all and get it to work?
Thanks.
Skc