Difference in ME vs Win2K behavior
[1/7] from: DNess::comcast::net at: 23-Jul-2003 2:21
I have a process that writes a .BAT file and then executes it. This .BAT file contains 4 lines: REBOL file1.r REBOL file2.r param1 REBOL file2.r param2 REBOL file2.r param4 When run under ME this works fine. I get the desired behavior: i.e. 4 `views' all appear on the screen. In Win2K action stops after each display, and I have to close it by hand before the next command runs. Thus each view appears alone on the screen, and the next is not displayed until the previous is closed. I'd like (1) the behavior to be consistent; and (2) it to behave as it does under ME. Any suggestions about what I am doing wrong?
[2/7] from: AJMartin:orcon at: 23-Jul-2003 18:45
> In Win2K action stops after each display, and I have to close it by hand
before the next command runs. Thus each view appears alone on the screen, and the next is not displayed until the previous is closed. That's problem of the operating system (the same happens with Windows XP as well). Andrew J Martin ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/
[3/7] from: james:mustard at: 23-Jul-2003 19:45
You'll want to use windows scripting host. Batch files have been superceded by them since 2000. :) They let you do all sorts of new and interesting things. here's a link to get you started: http://www.iopus.com/guides/wsh.htm regards, James. On Wed, 2003-07-23 at 18:45, A J Martin wrote:
[4/7] from: SunandaDH:aol at: 23-Jul-2003 4:46
> Any suggestions about what I am doing wrong?
If two of Bill Gates' operating systems behave differently, it's not you who's doing something wrong! I'm just guessing a fix I can't test it -- but try command /c REBOL file1.r command /c REBOL file2.r param1 command /c REBOL file2.r param2 command /c REBOL file3.r param4 Failing that, do a command /? and see if there are any newer, snazzier switches available to cure the problem. Failing that, you might need to write a "driver" REBOL program and execute that to do all the others: REBOL  do %file.r do/args %file2.r param1 do/args %file2.r param2 do/args %file2.r param4 But you'd have to make sure that the scripts do not have a Halt or Quit in them. And, you'd want to replace any Unview/all with Unview/only face-name. Sunanda.
[5/7] from: cyphre:seznam:cz at: 23-Jul-2003 10:56
Hi David, use: START REBOL file1.r ....etc. AFAIK START command under win2K innvokes each line as a independent DOS process regards Cyphre
[6/7] from: AJMartin:orcon at: 23-Jul-2003 21:53
> AFAIK START command under win2K innvokes each line as a independent DOS
process Works for me on Windows XP! Andrew J Martin Learning something new every day! ICQ: 26227169 http://www.rebol.it/Valley/ http://Valley.150m.com/
[7/7] from: DNess:comcast at: 23-Jul-2003 10:10
Thanks to all who provided possible answers, including several who suggested using START. Operating on the principle that `simplest is best' I tried this solution and it solved my problem. My thanks to all who helped. 7/23/2003 4:56:54 AM, Cyphre <[cyphre--seznam--cz]> wrote: