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

[REBOL] Re: Using call with quotes

From: apwing:zonnet:nl at: 20-Apr-2006 13:38

Hi again, in order to check the specific case of using a batch file I ran the following rebol script: rebol [] dir: "c:\program files\*.*" cmd: join "dir.bat /s " [{"} dir {"}] print cmd call cmd input Which in turn runs the bat file called dir.bat (in same directory as rebol script). echo Parm1=%1 echo Parm2=%2 pause The results displayed by dir.bat are: D:\src\rebol>echo Parm1=/s Parm1=/s D:\src\rebol>echo Parm2="c:\program files\*.*" Parm2="c:\program files\*.*" D:\src\rebol>pause Druk op een toets om door te gaan. . . So, I assume all works just fine! Regards Arie