home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,582 of 68,980   
   dr.j.r.stockton@gmail.com to All   
   New Batch command desired   
   14 Jun 20 07:29:14   
   
   I want an additional Batch command, which could be called EXEC.   
   It would receive Batch language as Standard Input, and execute   
   it; those who control the language should be able to add the   
   command quite easily.   
      
   It would mean that chunks of Batch code, in separate files,   
   could be virtually incorporated into multiple Batch files.   
      
   It would mean that, in an unpublished update to recent   
   thread 'Remove all but digits' here,   
      
      @call CSCRIPT //nologo REGLARXP.JS %* > %temp%\$RHUBARB.BAT &   
   %temp%\$RHUBARB.BAT & del %temp%\$RHUBARB.BAT   
      
   could be simplified to   
      
      @call CSCRIPT //nologo REGLARXP.JS %* | EXEC   
      
   which would eliminate the need to find an unused name for   
   the temporary file.   
      
      
      
   Otherwise : Is it possible, in REGLARXP.JS, to write to a named   
   environment variable *** as if the batch routine which called   
   REGLARXP.JS had written to the variable instead ***, and if so how?   
      
   --   
     (c) John Stockton, near London, UK.  Using Google Groups.           |   
    Mail: J.R.""""""""@physics.org - or as Reply-To, if any.             |   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca