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

Executing a batch file in Windows from Core

 [1/1] 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]>
<<quoted lines omitted: 3>>
> This effectively does the same thing on a windows platform. > rebol -c batch.r | command.com
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 "command.com" it just creates a file called command.com but doesnt execute it. What am I doing wrong? Cheers Phil

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted