baanprog
24th May 2005, 12:14
Hi all,
We want to run a Baan 3GL sesssion from Command Prompt.
Please advise how to write a Batch File and if any have you have done, How to do it?
Thank you
victor_cleto
24th May 2005, 12:40
There are a few examples posted already related to running sessions from the command line on Windows, like these:
- http://www.baanboard.com/baanboard/showthread.php?t=8543&highlight=session+batch+file
- http://www.baanboard.com/baanboard/showthread.php?t=16569&highlight=session+batch+file
A session is started using the same calling principle of a job:
start %BSE%\bin\bw.exe <user_bwc>.bwc [-- <additional_parameters>] <session>
baanprog
24th May 2005, 17:39
Hi all,
I have found in Windows NT you have something similar to BSHELL which is NTBSHELL.exe.(Exciting really!!!)
You can start ntbshell.exe with - server option and run a session, I have not tried it though.
Also what is listed in the two links preceding this reply is available in $BSE/bin as startjob.bat file.
Thank you all.