admscript.bat is what runs the scripts, similar to pro.bat
here's an example -
rem call is only necessary if you're running it from a batch file, but it can't hurt
call admscript script.p -db <mydatabase>
the sample.bat, just as an example, points to a c:\openedge\wrk\sports2000
database, and also access the db in single user mode ( -1 ).
if you open sample.bat, you'll see something like so ( i don't have the prog in
front of me at the moment )
call admscript sample.p -db c:\openedge\wrk\sports2000 -1
change the "-db ... -1" to something else, for example, "-db x:\mydatabase.db"
and give it another try ...
BTW i'm assuming you're using proenv ( from your start \ progress menu )
which, basically, sets a few environment variables.
here's an example -
rem call is only necessary if you're running it from a batch file, but it can't hurt
call admscript script.p -db <mydatabase>
the sample.bat, just as an example, points to a c:\openedge\wrk\sports2000
database, and also access the db in single user mode ( -1 ).
if you open sample.bat, you'll see something like so ( i don't have the prog in
front of me at the moment )
call admscript sample.p -db c:\openedge\wrk\sports2000 -1
change the "-db ... -1" to something else, for example, "-db x:\mydatabase.db"
and give it another try ...
BTW i'm assuming you're using proenv ( from your start \ progress menu )
which, basically, sets a few environment variables.