Methods to accept the return results of other scripting languages such as VBS in batch files!
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
| Rater | Score | Time |
|---|---|---|
| redtek | +2 | 2006-11-07 23:02 |
CreateObject("Scripting.FileSystemObject").CreateTextFile("test.txt").write "hello"
for /f %a in ("test.txt") do @echo %a
| Rater | Score | Time |
|---|---|---|
| redtek | +2 | 2006-11-07 23:17 |
Originally posted by sunyao at 2006-11-7 22:56:
I am currently using
for /f %%i in ('C:\bea\weblogic91\common\bin\wlst.cmd startserver.py %status% //Nologo') do echo %%i
I want to get the value of the variable status in the startserver.py file
Why can't I get it...