Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Executing a batch file in Windows from Core

From: philb::upnaway::com at: 17-Feb-2001 22:35

Hi Guys, I want to execute a batch file in Wondows from (core or view).
>From a while ago on the list I read > From: <[ryanc--iesco-dms--com]> > To: <[list--rebol--com]> > Subject: [REBOL] Solution: Launch Programs from REBOL/View Re:(5) > Date: 28 September 2000 17:29 > > This effectively does the same thing on a windows platform. > > rebol -c batch.r |
I have a couple of questions ... the re-direct doesnt seem to work from a dos prompt C:\Program Files\rebol\view>rebol -c batch.r | philip.txt Intermediate file error during pipe Changing from a | to a > will create an output file (in this case philip.txt) with my batch file as its contents. However if I change "philip.txt" to "" it just creates a file called but doesnt execute it. What am I doing wrong? Cheers Phil